#include <glib/gi18n.h>
#include <glib.h>
+#include <glib/gstdio.h>
#include <glib-object.h>
#include <string.h>
#include <sys/stat.h>
if (!g_file_test (abs_filename, G_FILE_TEST_EXISTS))
{
- g_message ("File \"%s\" does not exist. Cannot delete it.");
+ g_message ("File \"%s\" does not exist. Cannot delete template.", abs_filename);
return LGL_DB_DELETE_DOES_NOT_EXIST;
}
draw_cb (GtkWidget *widget,
cairo_t *cr)
{
- GtkAllocation allocation;
-
draw_swatch (GL_COLOR_SWATCH (widget), cr);
return FALSE;
draw_cb (GtkWidget *widget,
cairo_t *cr)
{
- GtkAllocation allocation;
-
draw_sample (GL_FONT_SAMPLE (widget), cr);
return FALSE;
else
{
lgl_barcode_render_to_cairo (lbc->priv->display_gbc, cr);
- lgl_barcode_free (gbc);
}
}
{
glLabelBarcode *lbc = (glLabelBarcode *)object;
gdouble w, h;
- lglBarcode *gbc;
- glLabelBarcodeStyle *style;
glTextNode *text_node;
- gchar *text;
gdouble scale_x, scale_y;
gl_label_object_get_size (object, &w, &h);