diff options
author | Benjamin Otte <otte@redhat.com> | 2010-08-24 17:04:18 +0200 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2010-09-26 15:11:11 +0200 |
commit | ca8a835874a36a106be8695bb328675f8a652561 (patch) | |
tree | 3da79962eea26f1035b605cd498afc60b34de5b6 /gtk/gtkoffscreenwindow.c | |
parent | 99c82af20a5204940ce2cb0f841be0d6f70a2778 (diff) | |
download | gtk+-ca8a835874a36a106be8695bb328675f8a652561.tar.gz |
API: Remove gtk_widget_get_snapshot()
It will be replaced with gtk_widget_draw().
Diffstat (limited to 'gtk/gtkoffscreenwindow.c')
-rw-r--r-- | gtk/gtkoffscreenwindow.c | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/gtk/gtkoffscreenwindow.c b/gtk/gtkoffscreenwindow.c index 84aab743bb..a2ea06c709 100644 --- a/gtk/gtkoffscreenwindow.c +++ b/gtk/gtkoffscreenwindow.c @@ -31,11 +31,9 @@ * * GtkOffscreenWindow is strictly intended to be used for obtaining * snapshots of widgets that are not part of a normal widget hierarchy. - * It differs from gtk_widget_get_snapshot() in that the widget you - * want to get a snapshot of need not be displayed on the user's screen - * as a part of a widget hierarchy. However, since GtkOffscreenWindow - * is a toplevel widget you cannot obtain snapshots of a full window - * with it since you cannot pack a toplevel widget in another toplevel. + * Since #GtkOffscreenWindow is a toplevel widget you cannot obtain + * snapshots of a full window with it since you cannot pack a toplevel + * widget in another toplevel. * * The idea is to take a widget and manually set the state of it, * add it to a GtkOffscreenWindow and then retrieve the snapshot @@ -259,9 +257,7 @@ gtk_offscreen_window_init (GtkOffscreenWindow *window) * gtk_offscreen_window_new: * * Creates a toplevel container widget that is used to retrieve - * snapshots of widgets without showing them on the screen. For - * widgets that are on the screen and part of a normal widget - * hierarchy, gtk_widget_get_snapshot() can be used instead. + * snapshots of widgets without showing them on the screen. * * Return value: A pointer to a #GtkWidget * |