]> Pileus Git - ~andy/gtk/blobdiff - gtk/gtkoffscreenwindow.h
Remove a workaround for old toolbar api
[~andy/gtk] / gtk / gtkoffscreenwindow.h
index 90d99879278f9b7b3e562e23a51a13afe0332456..a706e6704c4fb85803dd175282139e86fb69f687 100644 (file)
@@ -1,4 +1,24 @@
-#if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)
+/*
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the
+ * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ * Boston, MA 02111-1307, USA.
+ *
+ * Authors: Cody Russell <crussell@canonical.com>
+ *          Alexander Larsson <alexl@redhat.com>
+ */
+
+#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)
 #error "Only <gtk/gtk.h> can be included directly."
 #endif
 
@@ -29,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