X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=gtk%2Fgtkoffscreenwindow.h;h=a706e6704c4fb85803dd175282139e86fb69f687;hb=d2d344a5310138d363d0ca6c7b7c9daf21c9ce37;hp=75486f683fd625fb519488ba0bedb07a37a8c428;hpb=e0e2c768dd6a225913f1c733409b209be11536bb;p=~andy%2Fgtk diff --git a/gtk/gtkoffscreenwindow.h b/gtk/gtkoffscreenwindow.h index 75486f683..a706e6704 100644 --- a/gtk/gtkoffscreenwindow.h +++ b/gtk/gtkoffscreenwindow.h @@ -18,7 +18,7 @@ * Alexander Larsson */ -#if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) +#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION) #error "Only can be included directly." #endif @@ -49,9 +49,11 @@ 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); G_END_DECLS