* libglabels/db.c: (lgl_db_register_template):
* libglabels/xml-template.c:
(lgl_xml_template_parse_template_node):
* src/glabels-batch.c:
* src/view-text.c: (gl_view_text_create_button_press_event):
Fixed several issues such as possible use of uninitialized variables found with "-O1 -Wall".
git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/trunk@796
f5e0f49d-192f-0410-a22d-
a8d8700d0965
+2008-11-15 Jim Evins <evins@snaught.com>
+
+ * libglabels/db.c: (lgl_db_register_template):
+ * libglabels/xml-template.c:
+ (lgl_xml_template_parse_template_node):
+ * src/glabels-batch.c:
+ * src/view-text.c: (gl_view_text_create_button_press_event):
+ Fixed several issues such as possible use of uninitialized variables found with "-O1 -Wall".
+
2008-11-09 Jim Evins <evins@snaught.com>
* data/templates/misc-iso-templates.xml:
}
else
{
- lgl_template_free (template_copy);
return LGL_DB_REG_FILE_WRITE_ERROR;
}
}
page_width = paper->width;
page_height = paper->height;
} else {
+ page_width = 612;
+ page_height = 792;
g_message (_("Unknown page size id or name \"%s\""),
paper_id);
}
#include "print-op.h"
#include <libglabels/db.h>
#include "util.h"
+#include "prefs.h"
#include "debug.h"
/*============================================*/
gdouble y)
{
GObject *object;
- glViewObject *view_text;
GList *lines;
gchar *family;
glColorNode *color_node;