]> git.sur5r.net Git - glabels/blobdiff - glabels2/src/print-op.c
2009-09-01 Jim Evins <evins@snaught.com>
[glabels] / glabels2 / src / print-op.c
index 3e98490c58565baeebd9778a9f92755f8a9b7d6d..e77717592824c06fbc511c823fb99b460b19375b 100644 (file)
@@ -32,6 +32,7 @@
 #include <libglabels/db.h>
 #include "print.h"
 #include "label.h"
+#include "util.h"
 
 #include "wdgt-print-copies.h"
 #include "wdgt-print-merge.h"
@@ -506,7 +507,7 @@ create_custom_widget_cb (GtkPrintOperation *operation,
        if (error) {
                g_critical ("%s\n\ngLabels may not be installed correctly!", error->message);
                 g_error_free (error);
-               return;
+               return NULL;
        }
 
         gl_util_get_builder_widgets (builder,