summaryrefslogtreecommitdiff
path: root/gtk/gtkpapersize.c
diff options
context:
space:
mode:
authorPhilip Withnall <philip.withnall@collabora.co.uk>2013-11-20 17:33:03 +0000
committerPhilip Withnall <philip.withnall@collabora.co.uk>2013-12-02 10:36:26 +0000
commit99a162c69e0eb21d8b9fa6b127c69c7c536366fd (patch)
treeaf8d47e65ade2b0efc5bb055b315cf0d35b92f8b /gtk/gtkpapersize.c
parenta265d8f32df414b7ccf48ca4779e020572163237 (diff)
downloadgtk+-99a162c69e0eb21d8b9fa6b127c69c7c536366fd.tar.gz
gtkpapersize: Reformat #if preprocessor commands
This eliminates some false positive warnings from scan-build, which was not interpreting the #ifs and hence warning about unbalanced #endifs. https://bugzilla.gnome.org/show_bug.cgi?id=712760
Diffstat (limited to 'gtk/gtkpapersize.c')
-rw-r--r--gtk/gtkpapersize.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/gtk/gtkpapersize.c b/gtk/gtkpapersize.c
index 1ab622e194..cece2bed36 100644
--- a/gtk/gtkpapersize.c
+++ b/gtk/gtkpapersize.c
@@ -30,7 +30,8 @@
#include "gtkprintoperation.h" /* for GtkPrintError */
#include "gtkintl.h"
-#ifdef G_OS_UNIX /* _gtk_load_custom_papers() only on Unix so far */
+/* _gtk_load_custom_papers() only on Unix so far */
+#ifdef G_OS_UNIX
#include "gtkcustompaperunixdialog.h"
#endif
@@ -475,7 +476,8 @@ gtk_paper_size_get_paper_sizes (gboolean include_custom)
{
GList *list = NULL;
guint i;
-#ifdef G_OS_UNIX /* _gtk_load_custom_papers() only on Unix so far */
+/* _gtk_load_custom_papers() only on Unix so far */
+#ifdef G_OS_UNIX
if (include_custom)
{
GList *page_setups, *l;