diff options
author | Michael Natterer <mitch@gimp.org> | 2010-01-13 22:23:03 +0100 |
---|---|---|
committer | Michael Natterer <mitch@gimp.org> | 2010-01-13 22:23:03 +0100 |
commit | 4b1299ab8f0cbe953d2982869532e21f58826ae0 (patch) | |
tree | b336ec27737f68bb097b47d7840a79e872d8f3d8 /gtk/gtkoffscreenwindow.h | |
parent | f804bff7055356dcc6fd6112ac50d48b37a03938 (diff) | |
download | gtk+-4b1299ab8f0cbe953d2982869532e21f58826ae0.tar.gz |
Some fixes in gtkoffscreenwindow.h
- use (void) not () for void functions
- disallow individual inclusion unconditionally
Diffstat (limited to 'gtk/gtkoffscreenwindow.h')
-rw-r--r-- | gtk/gtkoffscreenwindow.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk/gtkoffscreenwindow.h b/gtk/gtkoffscreenwindow.h index 518b8df261..a706e6704c 100644 --- a/gtk/gtkoffscreenwindow.h +++ b/gtk/gtkoffscreenwindow.h @@ -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); |