Some fixes in gtkoffscreenwindow.h
- use (void) not () for void functions - disallow individual inclusion unconditionally
This commit is contained in:
@ -18,7 +18,7 @@
|
|||||||
* Alexander Larsson <alexl@redhat.com>
|
* 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."
|
#error "Only <gtk/gtk.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -49,9 +49,9 @@ struct _GtkOffscreenWindowClass
|
|||||||
GtkWindowClass parent_class;
|
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);
|
GdkPixmap *gtk_offscreen_window_get_pixmap (GtkOffscreenWindow *offscreen);
|
||||||
GdkPixbuf *gtk_offscreen_window_get_pixbuf (GtkOffscreenWindow *offscreen);
|
GdkPixbuf *gtk_offscreen_window_get_pixbuf (GtkOffscreenWindow *offscreen);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user