From: Jim Evins Date: Mon, 18 Apr 2005 02:45:49 +0000 (+0000) Subject: 2005-04-17 Jim Evins X-Git-Tag: glabels-2_3_0~427 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=174223a5516fbfc5e3b4a865b8310b51bed3dee2;p=glabels 2005-04-17 Jim Evins * libglabels/libglabels-private.h: * libglabels/paper.c: * libglabels/paper.h: * libglabels/template.c: * libglabels/template.h: * libglabels/xml-paper.c: * libglabels/xml-paper.h: * libglabels/xml-template.c: * libglabels/xml.c: * libglabels/xml.h: * src/base64.c: * src/base64.h: * src/bc-gnubarcode.c: * src/bc-postnet.c: * src/bc.c: * src/bc.h: * src/commands.c: * src/debug.c: * src/debug.h: * src/file.c: * src/file.h: * src/hig.c: * src/hig.h: * src/label-barcode.c: * src/label-box.c: * src/label-ellipse.c: * src/label-image.c: * src/label-image.h: * src/label-line.c: * src/label-object.c: * src/label-text.c: * src/label-text.h: * src/label.c: * src/merge-properties-dialog.c: * src/object-editor-bc-page.c: * src/object-editor-data-page.c: * src/object-editor-edit-page.c: * src/object-editor-fill-page.c: * src/object-editor-image-page.c: * src/object-editor-line-page.c: * src/object-editor-lsize-page.c: * src/object-editor-position-page.c: * src/object-editor-private.h: * src/object-editor-size-page.c: * src/object-editor-text-page.c: * src/object-editor.c: * src/object-editor.h: * src/pixbuf-cache.h: * src/prefs-dialog.c: * src/prefs-dialog.h: * src/prefs-model.c: * src/prefs-model.h: * src/prefs.c: * src/print-dialog.c: * src/print-dialog.h: * src/print.c: * src/print.h: * src/recent.c: * src/recent.h: * src/splash.c: * src/splash.h: * src/stock.h: * src/template-designer.c: * src/template-designer.h: * src/text-node.h: * src/tools.c: * src/ui-property-bar.c: (gl_ui_property_bar_construct): * src/ui-sidebar.c: * src/ui-util.c: * src/ui.c: * src/util.c: * src/util.h: * src/view-barcode.c: * src/view-box.c: * src/view-ellipse.c: * src/view-highlight.c: * src/view-highlight.h: * src/view-image.c: * src/view-line.c: * src/view-object.c: * src/view-object.h: * src/view-text.c: * src/view.c: * src/view.h: * src/wdgt-chain-button.c: * src/wdgt-media-select.c: * src/wdgt-media-select.h: * src/wdgt-mini-preview.c: * src/wdgt-mini-preview.h: * src/wdgt-print-copies.c: * src/wdgt-print-copies.h: * src/wdgt-print-merge.c: * src/wdgt-print-merge.h: * src/wdgt-rotate-label.c: * src/wdgt-rotate-label.h: * src/window.c: * src/window.h: * src/xml-label-04.c: * src/xml-label-191.c: * src/xml-label.c: Cleanup of header files: - all header files are now stand-alone, verified by including first in corresponding "c" files - replaced blanket includes of gnome, gtk, and glib with targetted includes git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/trunk@522 f5e0f49d-192f-0410-a22d-a8d8700d0965 --- diff --git a/glabels2/ChangeLog b/glabels2/ChangeLog index 2406a2a0..049d64bc 100644 --- a/glabels2/ChangeLog +++ b/glabels2/ChangeLog @@ -1,3 +1,111 @@ +2005-04-17 Jim Evins + + * libglabels/libglabels-private.h: + * libglabels/paper.c: + * libglabels/paper.h: + * libglabels/template.c: + * libglabels/template.h: + * libglabels/xml-paper.c: + * libglabels/xml-paper.h: + * libglabels/xml-template.c: + * libglabels/xml.c: + * libglabels/xml.h: + * src/base64.c: + * src/base64.h: + * src/bc-gnubarcode.c: + * src/bc-postnet.c: + * src/bc.c: + * src/bc.h: + * src/commands.c: + * src/debug.c: + * src/debug.h: + * src/file.c: + * src/file.h: + * src/hig.c: + * src/hig.h: + * src/label-barcode.c: + * src/label-box.c: + * src/label-ellipse.c: + * src/label-image.c: + * src/label-image.h: + * src/label-line.c: + * src/label-object.c: + * src/label-text.c: + * src/label-text.h: + * src/label.c: + * src/merge-properties-dialog.c: + * src/object-editor-bc-page.c: + * src/object-editor-data-page.c: + * src/object-editor-edit-page.c: + * src/object-editor-fill-page.c: + * src/object-editor-image-page.c: + * src/object-editor-line-page.c: + * src/object-editor-lsize-page.c: + * src/object-editor-position-page.c: + * src/object-editor-private.h: + * src/object-editor-size-page.c: + * src/object-editor-text-page.c: + * src/object-editor.c: + * src/object-editor.h: + * src/pixbuf-cache.h: + * src/prefs-dialog.c: + * src/prefs-dialog.h: + * src/prefs-model.c: + * src/prefs-model.h: + * src/prefs.c: + * src/print-dialog.c: + * src/print-dialog.h: + * src/print.c: + * src/print.h: + * src/recent.c: + * src/recent.h: + * src/splash.c: + * src/splash.h: + * src/stock.h: + * src/template-designer.c: + * src/template-designer.h: + * src/text-node.h: + * src/tools.c: + * src/ui-property-bar.c: (gl_ui_property_bar_construct): + * src/ui-sidebar.c: + * src/ui-util.c: + * src/ui.c: + * src/util.c: + * src/util.h: + * src/view-barcode.c: + * src/view-box.c: + * src/view-ellipse.c: + * src/view-highlight.c: + * src/view-highlight.h: + * src/view-image.c: + * src/view-line.c: + * src/view-object.c: + * src/view-object.h: + * src/view-text.c: + * src/view.c: + * src/view.h: + * src/wdgt-chain-button.c: + * src/wdgt-media-select.c: + * src/wdgt-media-select.h: + * src/wdgt-mini-preview.c: + * src/wdgt-mini-preview.h: + * src/wdgt-print-copies.c: + * src/wdgt-print-copies.h: + * src/wdgt-print-merge.c: + * src/wdgt-print-merge.h: + * src/wdgt-rotate-label.c: + * src/wdgt-rotate-label.h: + * src/window.c: + * src/window.h: + * src/xml-label-04.c: + * src/xml-label-191.c: + * src/xml-label.c: + Cleanup of header files: + - all header files are now stand-alone, verified by including + first in corresponding "c" files + - replaced blanket includes of gnome, gtk, and glib with + targetted includes + 2005-04-16 Jim Evins * data/glade/Makefile.am: diff --git a/glabels2/libglabels/libglabels-private.h b/glabels2/libglabels/libglabels-private.h index 7dcc79a4..e5011b2f 100644 --- a/glabels2/libglabels/libglabels-private.h +++ b/glabels2/libglabels/libglabels-private.h @@ -26,6 +26,9 @@ #ifndef __LIBGLABELS_PRIVATE_H__ #define __LIBGLABELS_PRIVATE_H__ +#include +#include + /* Data system and user data directories. (must free w/ g_free()) */ #define GL_SYSTEM_DATA_DIR g_build_filename (LIBGLABELS_TEMPLATE_DIR, NULL) #define GL_USER_DATA_DIR g_build_filename (g_get_home_dir (), ".glabels", NULL) diff --git a/glabels2/libglabels/paper.c b/glabels2/libglabels/paper.c index 5145e77d..f4a54bf9 100644 --- a/glabels2/libglabels/paper.c +++ b/glabels2/libglabels/paper.c @@ -24,12 +24,17 @@ */ #include +#include "paper.h" + #include +#include +#include +#include +#include #include #include "libglabels-private.h" -#include "paper.h" #include "xml-paper.h" /*===========================================*/ diff --git a/glabels2/libglabels/paper.h b/glabels2/libglabels/paper.h index 9cf99915..9137dadf 100644 --- a/glabels2/libglabels/paper.h +++ b/glabels2/libglabels/paper.h @@ -26,7 +26,8 @@ #ifndef __PAPER_H__ #define __PAPER_H__ -#include +#include +#include G_BEGIN_DECLS diff --git a/glabels2/libglabels/template.c b/glabels2/libglabels/template.c index 9fbf729e..a91306cb 100644 --- a/glabels2/libglabels/template.c +++ b/glabels2/libglabels/template.c @@ -24,13 +24,17 @@ */ #include +#include "template.h" + #include +#include +#include +#include +#include #include #include "libglabels-private.h" - #include "xml.h" -#include "template.h" #include "xml-template.h" #include "paper.h" diff --git a/glabels2/libglabels/template.h b/glabels2/libglabels/template.h index b34abd26..ce633b71 100644 --- a/glabels2/libglabels/template.h +++ b/glabels2/libglabels/template.h @@ -26,7 +26,8 @@ #ifndef __TEMPLATE_H__ #define __TEMPLATE_H__ -#include +#include +#include G_BEGIN_DECLS diff --git a/glabels2/libglabels/xml-paper.c b/glabels2/libglabels/xml-paper.c index d9840970..a2878840 100644 --- a/glabels2/libglabels/xml-paper.c +++ b/glabels2/libglabels/xml-paper.c @@ -24,14 +24,16 @@ */ #include +#include "xml-paper.h" + #include +#include #include #include #include "libglabels-private.h" #include "xml.h" -#include "xml-paper.h" /*===========================================*/ /* Private types */ diff --git a/glabels2/libglabels/xml-paper.h b/glabels2/libglabels/xml-paper.h index 5ec02b76..02dbacc0 100644 --- a/glabels2/libglabels/xml-paper.h +++ b/glabels2/libglabels/xml-paper.h @@ -26,7 +26,8 @@ #ifndef __XML_PAPER_H__ #define __XML_PAPER_H__ -#include +#include +#include #include #include "paper.h" diff --git a/glabels2/libglabels/xml-template.c b/glabels2/libglabels/xml-template.c index f2fd80f2..4711c4eb 100644 --- a/glabels2/libglabels/xml-template.c +++ b/glabels2/libglabels/xml-template.c @@ -24,7 +24,10 @@ */ #include +#include "xml-template.h" + #include +#include #include #include @@ -32,7 +35,6 @@ #include "paper.h" #include "xml.h" -#include "xml-template.h" /*===========================================*/ /* Private types */ diff --git a/glabels2/libglabels/xml.c b/glabels2/libglabels/xml.c index db51b965..d69a048b 100644 --- a/glabels2/libglabels/xml.c +++ b/glabels2/libglabels/xml.c @@ -24,11 +24,14 @@ */ #include +#include "xml.h" + #include +#include +#include #include "libglabels-private.h" -#include "xml.h" /*========================================================*/ /* Private macros and constants. */ diff --git a/glabels2/libglabels/xml.h b/glabels2/libglabels/xml.h index 72769467..6924ec8c 100644 --- a/glabels2/libglabels/xml.h +++ b/glabels2/libglabels/xml.h @@ -26,7 +26,7 @@ #ifndef __XML_H__ #define __XML_H__ -#include +#include #include #include "enums.h" diff --git a/glabels2/src/base64.c b/glabels2/src/base64.c index 957b46a8..c8de307e 100644 --- a/glabels2/src/base64.c +++ b/glabels2/src/base64.c @@ -30,11 +30,11 @@ */ #include -#include -#include - #include "base64.h" +#include +#include + /*========================================================*/ /* Private macros and constants. */ /*========================================================*/ diff --git a/glabels2/src/base64.h b/glabels2/src/base64.h index a6869492..acddd178 100644 --- a/glabels2/src/base64.h +++ b/glabels2/src/base64.h @@ -27,6 +27,8 @@ #ifndef __BASE64_H__ #define __BASE64_H__ +#include + G_BEGIN_DECLS gchar *gl_base64_encode (const guchar *in, diff --git a/glabels2/src/bc-gnubarcode.c b/glabels2/src/bc-gnubarcode.c index 2ea7798b..7491b2aa 100644 --- a/glabels2/src/bc-gnubarcode.c +++ b/glabels2/src/bc-gnubarcode.c @@ -28,11 +28,14 @@ #include +#include "bc-gnubarcode.h" + #include #include +#include +#include +#include -#include "bc.h" -#include "bc-gnubarcode.h" #include "barcode.h" #include "debug.h" diff --git a/glabels2/src/bc-postnet.c b/glabels2/src/bc-postnet.c index b0be19da..fec0daab 100644 --- a/glabels2/src/bc-postnet.c +++ b/glabels2/src/bc-postnet.c @@ -27,11 +27,13 @@ #include -#include - -#include "bc.h" #include "bc-postnet.h" +#include +#include +#include +#include + #include "debug.h" /*========================================================*/ diff --git a/glabels2/src/bc.c b/glabels2/src/bc.c index ab1c201d..cd3f3635 100644 --- a/glabels2/src/bc.c +++ b/glabels2/src/bc.c @@ -21,9 +21,13 @@ */ #include +#include "bc.h" + #include +#include +#include +#include -#include "bc.h" #include "bc-postnet.h" #include "bc-gnubarcode.h" diff --git a/glabels2/src/bc.h b/glabels2/src/bc.h index 23ca14c8..70b70324 100644 --- a/glabels2/src/bc.h +++ b/glabels2/src/bc.h @@ -22,7 +22,8 @@ #ifndef __BC_H__ #define __BC_H__ -#include +#include +#include G_BEGIN_DECLS diff --git a/glabels2/src/commands.c b/glabels2/src/commands.c index 9d68d720..d8558fe9 100644 --- a/glabels2/src/commands.c +++ b/glabels2/src/commands.c @@ -22,12 +22,14 @@ #include +#include "commands.h" + #include -#include +#include +#include #include #include -#include "commands.h" #include "view.h" #include "file.h" #include "template-designer.h" diff --git a/glabels2/src/debug.c b/glabels2/src/debug.c index 99f98421..462eb897 100644 --- a/glabels2/src/debug.c +++ b/glabels2/src/debug.c @@ -30,6 +30,10 @@ #include "debug.h" +#include +#include +#include + glDebugSection debug_flags = GLABELS_DEBUG_NONE; /****************************************************************************/ diff --git a/glabels2/src/debug.h b/glabels2/src/debug.h index 58cba587..15d51bd6 100644 --- a/glabels2/src/debug.h +++ b/glabels2/src/debug.h @@ -30,7 +30,7 @@ #ifndef __DEBUG_H__ #define __DEBUG_H__ -#include +#include G_BEGIN_DECLS diff --git a/glabels2/src/file.c b/glabels2/src/file.c index 267830c8..958d66b1 100644 --- a/glabels2/src/file.c +++ b/glabels2/src/file.c @@ -22,11 +22,15 @@ #include +#include "file.h" + #include +#include +#include +#include #include #include "xml-label.h" -#include "file.h" #include "recent.h" #include "hig.h" #include "util.h" diff --git a/glabels2/src/file.h b/glabels2/src/file.h index cecef9dc..01c5d86e 100644 --- a/glabels2/src/file.h +++ b/glabels2/src/file.h @@ -24,7 +24,7 @@ #define __FILE_H__ #include "recent-files/egg-recent-view.h" -#include +#include #include "label.h" #include "window.h" diff --git a/glabels2/src/hig.c b/glabels2/src/hig.c index f5f026e2..44ae8b01 100644 --- a/glabels2/src/hig.c +++ b/glabels2/src/hig.c @@ -22,10 +22,15 @@ #include -#include - #include "hig.h" +#include +#include +#include +#include +#include +#include + /*========================================================*/ /* Private macros and constants. */ /*========================================================*/ diff --git a/glabels2/src/hig.h b/glabels2/src/hig.h index 35c5b9e7..8f41fd79 100644 --- a/glabels2/src/hig.h +++ b/glabels2/src/hig.h @@ -23,7 +23,9 @@ #ifndef __HIG_H__ #define __HIG_H__ -#include +#include +#include +#include G_BEGIN_DECLS diff --git a/glabels2/src/label-barcode.c b/glabels2/src/label-barcode.c index d00f690c..9ec54c97 100644 --- a/glabels2/src/label-barcode.c +++ b/glabels2/src/label-barcode.c @@ -20,10 +20,12 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -#include - #include "label-barcode.h" +#include +#include +#include + #include "pixmaps/checkerboard.xpm" #include "debug.h" diff --git a/glabels2/src/label-box.c b/glabels2/src/label-box.c index 654c39d0..f909a723 100644 --- a/glabels2/src/label-box.c +++ b/glabels2/src/label-box.c @@ -20,10 +20,12 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -#include - #include "label-box.h" +#include +#include +#include + #include "debug.h" /*========================================================*/ diff --git a/glabels2/src/label-ellipse.c b/glabels2/src/label-ellipse.c index 95fa9364..0fc35828 100644 --- a/glabels2/src/label-ellipse.c +++ b/glabels2/src/label-ellipse.c @@ -20,10 +20,12 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -#include - #include "label-ellipse.h" +#include +#include +#include + #include "debug.h" /*========================================================*/ diff --git a/glabels2/src/label-image.c b/glabels2/src/label-image.c index c785ad03..c7c368d2 100644 --- a/glabels2/src/label-image.c +++ b/glabels2/src/label-image.c @@ -20,10 +20,12 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -#include - #include "label-image.h" +#include +#include +#include + #include "pixmaps/checkerboard.xpm" #include "debug.h" diff --git a/glabels2/src/label-image.h b/glabels2/src/label-image.h index 31a480a6..7c611a69 100644 --- a/glabels2/src/label-image.h +++ b/glabels2/src/label-image.h @@ -26,7 +26,7 @@ #include "label-object.h" #include "text-node.h" #include "merge.h" -#include "gdk-pixbuf/gdk-pixbuf.h" +#include G_BEGIN_DECLS diff --git a/glabels2/src/label-line.c b/glabels2/src/label-line.c index 9a2f6a7c..25c120d6 100644 --- a/glabels2/src/label-line.c +++ b/glabels2/src/label-line.c @@ -20,10 +20,12 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -#include - #include "label-line.h" +#include +#include +#include + #include "debug.h" /*========================================================*/ diff --git a/glabels2/src/label-object.c b/glabels2/src/label-object.c index bcda655b..36076652 100644 --- a/glabels2/src/label-object.c +++ b/glabels2/src/label-object.c @@ -21,10 +21,13 @@ */ #include -#include +#include "label-object.h" + +#include +#include +#include #include -#include "label-object.h" #include "marshal.h" #include "debug.h" diff --git a/glabels2/src/label-text.c b/glabels2/src/label-text.c index 34ad7caa..e03783b6 100644 --- a/glabels2/src/label-text.c +++ b/glabels2/src/label-text.c @@ -20,12 +20,12 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -#include -#include - #include "label-text.h" -#include "pixmaps/checkerboard.xpm" +#include +#include +#include +#include #include "debug.h" diff --git a/glabels2/src/label-text.h b/glabels2/src/label-text.h index abf6fdba..57deadb1 100644 --- a/glabels2/src/label-text.h +++ b/glabels2/src/label-text.h @@ -24,6 +24,7 @@ #define __LABEL_TEXT_H__ #include +#include #include #include "text-node.h" #include "label-object.h" diff --git a/glabels2/src/label.c b/glabels2/src/label.c index 678427f5..2497ab23 100644 --- a/glabels2/src/label.c +++ b/glabels2/src/label.c @@ -22,10 +22,10 @@ #include +#include "label.h" + #include -#include "label.h" -#include "label-object.h" #include "marshal.h" #include "util.h" diff --git a/glabels2/src/merge-properties-dialog.c b/glabels2/src/merge-properties-dialog.c index 120a1329..0a90d8f1 100644 --- a/glabels2/src/merge-properties-dialog.c +++ b/glabels2/src/merge-properties-dialog.c @@ -27,6 +27,11 @@ #include #include #include +#include +#include +#include +#include +#include #include "view.h" #include "merge.h" diff --git a/glabels2/src/object-editor-bc-page.c b/glabels2/src/object-editor-bc-page.c index 66728e9f..b026ef8d 100644 --- a/glabels2/src/object-editor-bc-page.c +++ b/glabels2/src/object-editor-bc-page.c @@ -21,10 +21,16 @@ */ #include -#include +#include "object-editor.h" + +#include +#include +#include +#include +#include +#include #include -#include "object-editor.h" #include "prefs.h" #include "mygal/widget-color-combo.h" #include "color.h" diff --git a/glabels2/src/object-editor-data-page.c b/glabels2/src/object-editor-data-page.c index 87663a78..518f1618 100644 --- a/glabels2/src/object-editor-data-page.c +++ b/glabels2/src/object-editor-data-page.c @@ -21,10 +21,13 @@ */ #include -#include +#include "object-editor.h" + +#include +#include +#include #include -#include "object-editor.h" #include "prefs.h" #include "object-editor-private.h" diff --git a/glabels2/src/object-editor-edit-page.c b/glabels2/src/object-editor-edit-page.c index 4e010711..d9e25ead 100644 --- a/glabels2/src/object-editor-edit-page.c +++ b/glabels2/src/object-editor-edit-page.c @@ -21,10 +21,14 @@ */ #include -#include +#include "object-editor.h" + +#include +#include +#include +#include #include -#include "object-editor.h" #include "prefs.h" #include "mygal/widget-color-combo.h" #include "color.h" diff --git a/glabels2/src/object-editor-fill-page.c b/glabels2/src/object-editor-fill-page.c index e2a9418a..8f264633 100644 --- a/glabels2/src/object-editor-fill-page.c +++ b/glabels2/src/object-editor-fill-page.c @@ -21,10 +21,13 @@ */ #include -#include +#include "object-editor.h" + +#include +#include +#include #include -#include "object-editor.h" #include "prefs.h" #include "mygal/widget-color-combo.h" #include "color.h" diff --git a/glabels2/src/object-editor-image-page.c b/glabels2/src/object-editor-image-page.c index e9704839..114e29e4 100644 --- a/glabels2/src/object-editor-image-page.c +++ b/glabels2/src/object-editor-image-page.c @@ -21,11 +21,15 @@ */ #include -#include -#include +#include "object-editor.h" + +#include #include +#include +#include +#include +#include -#include "object-editor.h" #include "prefs.h" #include "object-editor-private.h" diff --git a/glabels2/src/object-editor-line-page.c b/glabels2/src/object-editor-line-page.c index 6512a763..5e03bece 100644 --- a/glabels2/src/object-editor-line-page.c +++ b/glabels2/src/object-editor-line-page.c @@ -21,10 +21,16 @@ */ #include -#include +#include "object-editor.h" + +#include +#include +#include +#include +#include +#include #include -#include "object-editor.h" #include "prefs.h" #include "mygal/widget-color-combo.h" #include "color.h" diff --git a/glabels2/src/object-editor-lsize-page.c b/glabels2/src/object-editor-lsize-page.c index 0731899b..fb3861fd 100644 --- a/glabels2/src/object-editor-lsize-page.c +++ b/glabels2/src/object-editor-lsize-page.c @@ -21,10 +21,13 @@ */ #include -#include +#include "object-editor.h" + +#include +#include +#include #include -#include "object-editor.h" #include "prefs.h" #include "object-editor-private.h" diff --git a/glabels2/src/object-editor-position-page.c b/glabels2/src/object-editor-position-page.c index 1ccdadbb..96b061df 100644 --- a/glabels2/src/object-editor-position-page.c +++ b/glabels2/src/object-editor-position-page.c @@ -21,10 +21,13 @@ */ #include -#include +#include "object-editor.h" + +#include +#include +#include #include -#include "object-editor.h" #include "prefs.h" #include "object-editor-private.h" diff --git a/glabels2/src/object-editor-private.h b/glabels2/src/object-editor-private.h index 4c140318..b8f4afc2 100644 --- a/glabels2/src/object-editor-private.h +++ b/glabels2/src/object-editor-private.h @@ -22,7 +22,7 @@ #ifndef __OBJECT_EDITOR_PRIVATE_H__ #define __OBJECT_EDITOR_PRIVATE_H__ -#include +#include #include G_BEGIN_DECLS diff --git a/glabels2/src/object-editor-size-page.c b/glabels2/src/object-editor-size-page.c index 30728383..c250e73e 100644 --- a/glabels2/src/object-editor-size-page.c +++ b/glabels2/src/object-editor-size-page.c @@ -21,10 +21,13 @@ */ #include -#include +#include "object-editor.h" + +#include +#include +#include #include -#include "object-editor.h" #include "prefs.h" #include "wdgt-chain-button.h" diff --git a/glabels2/src/object-editor-text-page.c b/glabels2/src/object-editor-text-page.c index def7b117..c6d3fc5c 100644 --- a/glabels2/src/object-editor-text-page.c +++ b/glabels2/src/object-editor-text-page.c @@ -21,10 +21,15 @@ */ #include -#include +#include "object-editor.h" + +#include +#include +#include +#include +#include #include -#include "object-editor.h" #include "prefs.h" #include "mygal/widget-color-combo.h" #include "color.h" diff --git a/glabels2/src/object-editor.c b/glabels2/src/object-editor.c index ac4f08f5..107428f2 100644 --- a/glabels2/src/object-editor.c +++ b/glabels2/src/object-editor.c @@ -21,11 +21,17 @@ */ #include +#include "object-editor.h" + #include #include +#include +#include +#include +#include + #include -#include "object-editor.h" #include "prefs.h" #include "mygal/widget-color-combo.h" #include "color.h" diff --git a/glabels2/src/object-editor.h b/glabels2/src/object-editor.h index fa9aa119..d95bb63e 100644 --- a/glabels2/src/object-editor.h +++ b/glabels2/src/object-editor.h @@ -22,13 +22,15 @@ #ifndef __OBJECT_EDITOR_H__ #define __OBJECT_EDITOR_H__ -#include +#include +#include +#include +#include + #include "text-node.h" #include "merge.h" #include "bc.h" #include "color.h" -#include -#include G_BEGIN_DECLS diff --git a/glabels2/src/pixbuf-cache.h b/glabels2/src/pixbuf-cache.h index 33d76734..51d0550e 100644 --- a/glabels2/src/pixbuf-cache.h +++ b/glabels2/src/pixbuf-cache.h @@ -22,7 +22,8 @@ #ifndef __PIXBUF_CACHE_H__ #define __PIXBUF_CACHE_H__ -#include +#include +#include #include G_BEGIN_DECLS diff --git a/glabels2/src/prefs-dialog.c b/glabels2/src/prefs-dialog.c index b5f43dd8..43a3d6cc 100644 --- a/glabels2/src/prefs-dialog.c +++ b/glabels2/src/prefs-dialog.c @@ -21,12 +21,17 @@ */ #include +#include "prefs-dialog.h" + #include -#include -#include +#include #include +#include +#include +#include +#include +#include -#include "prefs-dialog.h" #include "prefs.h" #include "mygal/widget-color-combo.h" #include "color.h" diff --git a/glabels2/src/prefs-dialog.h b/glabels2/src/prefs-dialog.h index 16be052a..bc33a646 100644 --- a/glabels2/src/prefs-dialog.h +++ b/glabels2/src/prefs-dialog.h @@ -23,7 +23,7 @@ #ifndef __PREFS_DIALOG_H__ #define __PREFS_DIALOG_H__ -#include +#include #include "hig.h" G_BEGIN_DECLS diff --git a/glabels2/src/prefs-model.c b/glabels2/src/prefs-model.c index f9437c6d..333f57f3 100644 --- a/glabels2/src/prefs-model.c +++ b/glabels2/src/prefs-model.c @@ -21,11 +21,12 @@ */ #include +#include "prefs-model.h" + +#include #include "marshal.h" -#include "prefs-model.h" #include "util.h" -#include #include "color.h" #include "debug.h" diff --git a/glabels2/src/prefs-model.h b/glabels2/src/prefs-model.h index 46937919..b2983097 100644 --- a/glabels2/src/prefs-model.h +++ b/glabels2/src/prefs-model.h @@ -23,7 +23,7 @@ #define __PREFS_MODEL_H__ #include -#include +#include #include #include #include diff --git a/glabels2/src/prefs.c b/glabels2/src/prefs.c index 9dc59790..b5648156 100644 --- a/glabels2/src/prefs.c +++ b/glabels2/src/prefs.c @@ -21,9 +21,9 @@ */ #include -#include +#include "prefs.h" -#include "prefs-model.h" +#include #include "debug.h" diff --git a/glabels2/src/print-dialog.c b/glabels2/src/print-dialog.c index f0d9de39..a1240c96 100644 --- a/glabels2/src/print-dialog.c +++ b/glabels2/src/print-dialog.c @@ -21,16 +21,18 @@ */ #include +#include "print-dialog.h" + #include #include #include #include -#include +#include +#include #include #include #include -#include "print-dialog.h" #include "print.h" #include "label.h" diff --git a/glabels2/src/print-dialog.h b/glabels2/src/print-dialog.h index 0ccfc71b..efbce897 100644 --- a/glabels2/src/print-dialog.h +++ b/glabels2/src/print-dialog.h @@ -22,7 +22,6 @@ #ifndef __PRINT_DIALOG_H__ #define __PRINT_DIALOG_H__ -#include #include #include "hig.h" #include "view.h" diff --git a/glabels2/src/print.c b/glabels2/src/print.c index 573ef143..83f5599a 100644 --- a/glabels2/src/print.c +++ b/glabels2/src/print.c @@ -21,13 +21,14 @@ */ #include +#include "print.h" + #include #include #include #include -#include +#include -#include "print.h" #include "label.h" #include "label-text.h" #include "label-box.h" diff --git a/glabels2/src/print.h b/glabels2/src/print.h index 6e9b583c..d19a385c 100644 --- a/glabels2/src/print.h +++ b/glabels2/src/print.h @@ -22,7 +22,6 @@ #ifndef __PRINT_H__ #define __PRINT_H__ -#include #include #include "label.h" diff --git a/glabels2/src/recent.c b/glabels2/src/recent.c index cac3426d..1559b34a 100644 --- a/glabels2/src/recent.c +++ b/glabels2/src/recent.c @@ -21,8 +21,8 @@ */ #include - #include "recent.h" + #include "prefs.h" #include "debug.h" diff --git a/glabels2/src/recent.h b/glabels2/src/recent.h index d3616997..db61a57c 100644 --- a/glabels2/src/recent.h +++ b/glabels2/src/recent.h @@ -24,11 +24,14 @@ #include "recent-files/egg-recent-model.h" +G_BEGIN_DECLS gchar * gl_recent_get_filename (EggRecentItem *item); void gl_recent_add_uri (gchar *uri); EggRecentModel * gl_recent_get_model (void); void gl_recent_init (void); +G_END_DECLS + #endif /*__RECENT_H__*/ diff --git a/glabels2/src/splash.c b/glabels2/src/splash.c index 83e18d3c..a4eb2963 100644 --- a/glabels2/src/splash.c +++ b/glabels2/src/splash.c @@ -20,13 +20,18 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -#include "config.h" - -#include -#include +#include #include "splash.h" +#include +#include +#include +#include +#include +#include +#include + #define SPLASH_PIXMAP gnome_program_locate_file (NULL,\ GNOME_FILE_DOMAIN_APP_PIXMAP,\ "glabels/glabels-splash.png",\ diff --git a/glabels2/src/splash.h b/glabels2/src/splash.h index 25cd5b66..70128aed 100644 --- a/glabels2/src/splash.h +++ b/glabels2/src/splash.h @@ -23,6 +23,12 @@ #ifndef __SPLASH_H__ #define __SPLASH_H__ +#include + +G_BEGIN_DECLS + void gl_splash (void); +G_END_DECLS + #endif diff --git a/glabels2/src/stock.h b/glabels2/src/stock.h index 96d975d4..70e2bd0a 100644 --- a/glabels2/src/stock.h +++ b/glabels2/src/stock.h @@ -23,6 +23,10 @@ #ifndef __STOCK_H__ #define __STOCK_H__ +#include + +G_BEGIN_DECLS + /* Stock names */ #define GL_STOCK_ARROW "gl_stock_arrow" @@ -57,4 +61,6 @@ void gl_stock_init (void); +G_END_DECLS + #endif diff --git a/glabels2/src/template-designer.c b/glabels2/src/template-designer.c index 22f4f5f4..e2740db6 100644 --- a/glabels2/src/template-designer.c +++ b/glabels2/src/template-designer.c @@ -21,13 +21,20 @@ */ #include +#include "template-designer.h" + #include #include -#include -#include #include +#include +#include +#include +#include +#include +#include +#include +#include -#include "template-designer.h" #include "prefs.h" #include #include diff --git a/glabels2/src/template-designer.h b/glabels2/src/template-designer.h index 5cea341c..8c03dfa2 100644 --- a/glabels2/src/template-designer.h +++ b/glabels2/src/template-designer.h @@ -23,7 +23,7 @@ #ifndef __TEMPLATE_DESIGNER_H__ #define __TEMPLATE_DESIGNER_H__ -#include +#include G_BEGIN_DECLS diff --git a/glabels2/src/text-node.h b/glabels2/src/text-node.h index b7d06f2d..47a6293d 100644 --- a/glabels2/src/text-node.h +++ b/glabels2/src/text-node.h @@ -22,7 +22,8 @@ #ifndef __TEXT_NODE_H__ #define __TEXT_NODE_H__ -#include +#include +#include #include "merge.h" G_BEGIN_DECLS diff --git a/glabels2/src/tools.c b/glabels2/src/tools.c index d1a745e0..98f23611 100644 --- a/glabels2/src/tools.c +++ b/glabels2/src/tools.c @@ -23,6 +23,7 @@ #include #include "tools.h" + #include "window.h" /*===========================================*/ diff --git a/glabels2/src/ui-property-bar.c b/glabels2/src/ui-property-bar.c index 640ea540..64cac185 100644 --- a/glabels2/src/ui-property-bar.c +++ b/glabels2/src/ui-property-bar.c @@ -22,10 +22,13 @@ #include +#include "ui-property-bar.h" + #include +#include +#include #include -#include "ui-property-bar.h" #include "ui-util.h" #include "mygal/widget-color-combo.h" #include "stock-pixmaps/stockpixbufs.h" @@ -274,11 +277,11 @@ gl_ui_property_bar_construct (glUIPropertyBar *property_bar, gl_prefs->default_font_family, (GCompareFunc)g_utf8_collate); if (family_node) { - gtk_combo_box_set_active (wcombo, + gtk_combo_box_set_active (GTK_COMBO_BOX (wcombo), g_list_position (family_names, family_node)); } else { - gtk_combo_box_set_active (wcombo, 0); + gtk_combo_box_set_active (GTK_COMBO_BOX (wcombo), 0); } gnome_font_family_list_free (family_names); diff --git a/glabels2/src/ui-sidebar.c b/glabels2/src/ui-sidebar.c index 90f0d70e..6ee0324a 100644 --- a/glabels2/src/ui-sidebar.c +++ b/glabels2/src/ui-sidebar.c @@ -22,10 +22,11 @@ #include +#include "ui-sidebar.h" + #include #include -#include "ui-sidebar.h" #include "ui-util.h" #include "object-editor.h" #include "stock.h" diff --git a/glabels2/src/ui-util.c b/glabels2/src/ui-util.c index bdb9af78..0a1420cb 100644 --- a/glabels2/src/ui-util.c +++ b/glabels2/src/ui-util.c @@ -20,10 +20,11 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #include -#include #include "ui-util.h" +#include + #include "debug.h" /*==========================================================================*/ diff --git a/glabels2/src/ui.c b/glabels2/src/ui.c index 184840a6..47c69af8 100644 --- a/glabels2/src/ui.c +++ b/glabels2/src/ui.c @@ -21,11 +21,12 @@ */ #include +#include "ui.h" + #include "recent-files/egg-recent-view.h" #include "recent-files/egg-recent-view-bonobo.h" #include -#include "ui.h" #include "ui-util.h" #include "commands.h" #include "tools.h" diff --git a/glabels2/src/util.c b/glabels2/src/util.c index 7678233c..cc4ad97b 100644 --- a/glabels2/src/util.c +++ b/glabels2/src/util.c @@ -28,6 +28,9 @@ #include #include #include +#include +#include +#include #define FRAC_EPSILON 0.00005 diff --git a/glabels2/src/util.h b/glabels2/src/util.h index cef32b6d..7b55867b 100644 --- a/glabels2/src/util.h +++ b/glabels2/src/util.h @@ -23,7 +23,8 @@ #ifndef __UTIL_H__ #define __UTIL_H__ -#include +#include +#include #include G_BEGIN_DECLS diff --git a/glabels2/src/view-barcode.c b/glabels2/src/view-barcode.c index 70f9d4e8..b1af536f 100644 --- a/glabels2/src/view-barcode.c +++ b/glabels2/src/view-barcode.c @@ -21,14 +21,16 @@ */ #include -#include +#include "view-barcode.h" + #include +#include +#include +#include #include -#include "view-barcode.h" #include "canvas-hacktext.h" #include "view-highlight.h" - #include "color.h" #include "object-editor.h" #include "stock.h" diff --git a/glabels2/src/view-box.c b/glabels2/src/view-box.c index bd05217f..655cdcae 100644 --- a/glabels2/src/view-box.c +++ b/glabels2/src/view-box.c @@ -21,12 +21,12 @@ */ #include -#include +#include "view-box.h" + #include +#include -#include "view-box.h" #include "view-highlight.h" - #include "color.h" #include "object-editor.h" #include "stock.h" diff --git a/glabels2/src/view-ellipse.c b/glabels2/src/view-ellipse.c index e8d99bbc..b5d22502 100644 --- a/glabels2/src/view-ellipse.c +++ b/glabels2/src/view-ellipse.c @@ -21,12 +21,12 @@ */ #include -#include +#include "view-ellipse.h" + #include +#include -#include "view-ellipse.h" #include "view-highlight.h" - #include "color.h" #include "object-editor.h" #include "stock.h" diff --git a/glabels2/src/view-highlight.c b/glabels2/src/view-highlight.c index 7bd596ca..9103033b 100644 --- a/glabels2/src/view-highlight.c +++ b/glabels2/src/view-highlight.c @@ -22,10 +22,10 @@ #include -#include - #include "view-highlight.h" +#include + #include "debug.h" /*===========================================*/ diff --git a/glabels2/src/view-highlight.h b/glabels2/src/view-highlight.h index fceb40e9..d49987d1 100644 --- a/glabels2/src/view-highlight.h +++ b/glabels2/src/view-highlight.h @@ -22,8 +22,6 @@ #ifndef __VIEW_HIGHLIGHT_H__ #define __VIEW_HIGHLIGHT_H__ -#include - typedef enum { GL_VIEW_HIGHLIGHT_BOX_RESIZABLE, GL_VIEW_HIGHLIGHT_ELLIPSE_RESIZABLE, diff --git a/glabels2/src/view-image.c b/glabels2/src/view-image.c index 42f3ab06..7d95aeb5 100644 --- a/glabels2/src/view-image.c +++ b/glabels2/src/view-image.c @@ -21,12 +21,12 @@ */ #include -#include +#include "view-image.h" + #include +#include -#include "view-image.h" #include "view-highlight.h" - #include "color.h" #include "object-editor.h" #include "stock.h" diff --git a/glabels2/src/view-line.c b/glabels2/src/view-line.c index 3c2b9f82..90fc19ec 100644 --- a/glabels2/src/view-line.c +++ b/glabels2/src/view-line.c @@ -21,12 +21,12 @@ */ #include -#include +#include "view-line.h" + #include +#include -#include "view-line.h" #include "view-highlight.h" - #include "color.h" #include "object-editor.h" #include "stock.h" diff --git a/glabels2/src/view-object.c b/glabels2/src/view-object.c index 7f218ad8..95b41b7b 100644 --- a/glabels2/src/view-object.c +++ b/glabels2/src/view-object.c @@ -23,6 +23,7 @@ #include #include "view-object.h" + #include "libart_lgpl/libart.h" #include "debug.h" diff --git a/glabels2/src/view-object.h b/glabels2/src/view-object.h index 0559a888..c2451ba8 100644 --- a/glabels2/src/view-object.h +++ b/glabels2/src/view-object.h @@ -24,7 +24,6 @@ #define __VIEW_OBJECT_H__ #include -#include #include "label-object.h" #define GL_TYPE_VIEW_OBJECT (gl_view_object_get_type ()) diff --git a/glabels2/src/view-text.c b/glabels2/src/view-text.c index f6c5bfd2..2f66ddb4 100644 --- a/glabels2/src/view-text.c +++ b/glabels2/src/view-text.c @@ -21,11 +21,13 @@ */ #include -#include +#include "view-text.h" + #include +#include +#include #include -#include "view-text.h" #include "canvas-hacktext.h" #include "view-highlight.h" diff --git a/glabels2/src/view.c b/glabels2/src/view.c index 1b962015..ec7b8541 100644 --- a/glabels2/src/view.c +++ b/glabels2/src/view.c @@ -22,13 +22,19 @@ #include +#include "view.h" + #include -#include +#include +#include #include +#include +#include +#include +#include #include #include -#include "view.h" #include "view-object.h" #include "view-box.h" #include "view-ellipse.h" diff --git a/glabels2/src/view.h b/glabels2/src/view.h index 6bed15a5..d4a453b4 100644 --- a/glabels2/src/view.h +++ b/glabels2/src/view.h @@ -23,7 +23,8 @@ #ifndef __VIEW_H__ #define __VIEW_H__ -#include +#include +#include #include #include diff --git a/glabels2/src/wdgt-chain-button.c b/glabels2/src/wdgt-chain-button.c index 9407c6d7..8616e0b3 100644 --- a/glabels2/src/wdgt-chain-button.c +++ b/glabels2/src/wdgt-chain-button.c @@ -25,9 +25,12 @@ * Boston, MA 02111-1307, USA. */ -#include - #include "wdgt-chain-button.h" + +#include +#include +#include + #include "stock.h" diff --git a/glabels2/src/wdgt-media-select.c b/glabels2/src/wdgt-media-select.c index 18706503..6a9ef949 100644 --- a/glabels2/src/wdgt-media-select.c +++ b/glabels2/src/wdgt-media-select.c @@ -22,9 +22,14 @@ #include +#include "wdgt-media-select.h" + #include +#include +#include +#include +#include -#include "wdgt-media-select.h" #include "hig.h" #include "wdgt-mini-preview.h" #include "prefs.h" diff --git a/glabels2/src/wdgt-media-select.h b/glabels2/src/wdgt-media-select.h index 3d9f0539..4fcbdc3d 100644 --- a/glabels2/src/wdgt-media-select.h +++ b/glabels2/src/wdgt-media-select.h @@ -23,7 +23,6 @@ #ifndef __WDGT_MEDIA_SELECT_H__ #define __WDGT_MEDIA_SELECT_H__ -#include #include "hig.h" G_BEGIN_DECLS diff --git a/glabels2/src/wdgt-mini-preview.c b/glabels2/src/wdgt-mini-preview.c index c7475430..255954a5 100644 --- a/glabels2/src/wdgt-mini-preview.c +++ b/glabels2/src/wdgt-mini-preview.c @@ -22,9 +22,11 @@ #include +#include "wdgt-mini-preview.h" + +#include #include -#include "wdgt-mini-preview.h" #include "marshal.h" #include "color.h" diff --git a/glabels2/src/wdgt-mini-preview.h b/glabels2/src/wdgt-mini-preview.h index 9c3a9e62..9a39bfc6 100644 --- a/glabels2/src/wdgt-mini-preview.h +++ b/glabels2/src/wdgt-mini-preview.h @@ -23,7 +23,8 @@ #ifndef __WDGT_MINI_PREVIEW_H__ #define __WDGT_MINI_PREVIEW_H__ -#include +#include +#include #include "label.h" G_BEGIN_DECLS diff --git a/glabels2/src/wdgt-print-copies.c b/glabels2/src/wdgt-print-copies.c index d98e93e9..2cdded62 100644 --- a/glabels2/src/wdgt-print-copies.c +++ b/glabels2/src/wdgt-print-copies.c @@ -22,9 +22,14 @@ #include +#include "wdgt-print-copies.h" + #include +#include +#include +#include +#include -#include "wdgt-print-copies.h" #include "wdgt-mini-preview.h" #include "marshal.h" diff --git a/glabels2/src/wdgt-print-copies.h b/glabels2/src/wdgt-print-copies.h index dd6dacc0..9185b9fd 100644 --- a/glabels2/src/wdgt-print-copies.h +++ b/glabels2/src/wdgt-print-copies.h @@ -23,7 +23,6 @@ #ifndef __WDGT_PRINT_COPIES_H__ #define __WDGT_PRINT_COPIES_H__ -#include #include "label.h" #include "hig.h" diff --git a/glabels2/src/wdgt-print-merge.c b/glabels2/src/wdgt-print-merge.c index 578863a4..1ecf8d6d 100644 --- a/glabels2/src/wdgt-print-merge.c +++ b/glabels2/src/wdgt-print-merge.c @@ -22,9 +22,15 @@ #include +#include "wdgt-print-merge.h" + #include +#include +#include +#include +#include + -#include "wdgt-print-merge.h" #include "wdgt-mini-preview.h" #include "marshal.h" diff --git a/glabels2/src/wdgt-print-merge.h b/glabels2/src/wdgt-print-merge.h index 2b6adf54..378bae4a 100644 --- a/glabels2/src/wdgt-print-merge.h +++ b/glabels2/src/wdgt-print-merge.h @@ -23,7 +23,6 @@ #ifndef __WDGT_PRINT_MERGE_H__ #define __WDGT_PRINT_MERGE_H__ -#include #include "label.h" #include "hig.h" diff --git a/glabels2/src/wdgt-rotate-label.c b/glabels2/src/wdgt-rotate-label.c index ba9d35a3..9d60bf7c 100644 --- a/glabels2/src/wdgt-rotate-label.c +++ b/glabels2/src/wdgt-rotate-label.c @@ -22,10 +22,14 @@ #include +#include "wdgt-rotate-label.h" + #include +#include +#include +#include #include -#include "wdgt-rotate-label.h" #include "hig.h" #include "marshal.h" #include "color.h" diff --git a/glabels2/src/wdgt-rotate-label.h b/glabels2/src/wdgt-rotate-label.h index bcb3fc73..d6d2604a 100644 --- a/glabels2/src/wdgt-rotate-label.h +++ b/glabels2/src/wdgt-rotate-label.h @@ -23,7 +23,6 @@ #ifndef __WDGT_ROTATE_LABEL_H__ #define __WDGT_ROTATE_LABEL_H__ -#include #include "hig.h" #include diff --git a/glabels2/src/window.c b/glabels2/src/window.c index fdbcf091..97b483b1 100644 --- a/glabels2/src/window.c +++ b/glabels2/src/window.c @@ -22,10 +22,13 @@ #include +#include "window.h" + #include +#include +#include #include "ui.h" -#include "window.h" #include "util.h" #include "xml-label.h" #include "prefs.h" diff --git a/glabels2/src/window.h b/glabels2/src/window.h index 5a390684..2b855a3d 100644 --- a/glabels2/src/window.h +++ b/glabels2/src/window.h @@ -23,7 +23,6 @@ #ifndef __WINDOW_H__ #define __WINDOW_H__ -#include #include #include diff --git a/glabels2/src/xml-label-04.c b/glabels2/src/xml-label-04.c index 9f0dbcf6..b845c725 100644 --- a/glabels2/src/xml-label-04.c +++ b/glabels2/src/xml-label-04.c @@ -22,11 +22,10 @@ #include -#include +#include "xml-label-04.h" #include -#include "xml-label-04.h" #include "label-text.h" #include "label-box.h" #include "label-line.h" diff --git a/glabels2/src/xml-label-191.c b/glabels2/src/xml-label-191.c index 4cabb6de..567b82c9 100644 --- a/glabels2/src/xml-label-191.c +++ b/glabels2/src/xml-label-191.c @@ -22,7 +22,7 @@ #include -#include +#include "xml-label-191.h" #include #include @@ -39,7 +39,6 @@ #include "label-barcode.h" #include "base64.h" #include "xml-label.h" -#include "xml-label-04.h" #include #include #include diff --git a/glabels2/src/xml-label.c b/glabels2/src/xml-label.c index 0ef05596..f725b139 100644 --- a/glabels2/src/xml-label.c +++ b/glabels2/src/xml-label.c @@ -22,7 +22,7 @@ #include -#include +#include "xml-label.h" #include #include @@ -38,7 +38,6 @@ #include "label-image.h" #include "label-barcode.h" #include "base64.h" -#include "xml-label.h" #include "xml-label-04.h" #include "xml-label-191.h" #include