]> Pileus Git - ~andy/gtk/commitdiff
Some fixes in gtkoffscreenwindow.h
authorMichael Natterer <mitch@gimp.org>
Wed, 13 Jan 2010 21:23:03 +0000 (22:23 +0100)
committerMichael Natterer <mitch@gimp.org>
Wed, 13 Jan 2010 21:23:03 +0000 (22:23 +0100)
- use (void) not () for void functions
- disallow individual inclusion unconditionally

gtk/gtkoffscreenwindow.h

index 518b8df2619ed12f4358269caa044c9ea00ddf26..a706e6704c4fb85803dd175282139e86fb69f687 100644 (file)
@@ -18,7 +18,7 @@
  *          Alexander Larsson <alexl@redhat.com>
  */
 
-#if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)
+#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)
 #error "Only <gtk/gtk.h> can be included directly."
 #endif
 
@@ -49,9 +49,9 @@ struct _GtkOffscreenWindowClass
   GtkWindowClass parent_class;
 };
 
-GType      gtk_offscreen_window_get_type () G_GNUC_CONST;
+GType      gtk_offscreen_window_get_type   (void) G_GNUC_CONST;
 
-GtkWidget *gtk_offscreen_window_new ();
+GtkWidget *gtk_offscreen_window_new        (void);
 GdkPixmap *gtk_offscreen_window_get_pixmap (GtkOffscreenWindow *offscreen);
 GdkPixbuf *gtk_offscreen_window_get_pixbuf (GtkOffscreenWindow *offscreen);