diff options
author | Federico Mena Quintero <federico@nuclecu.unam.mx> | 1998-02-12 03:02:14 +0000 |
---|---|---|
committer | Arturo Espinosa <unammx@src.gnome.org> | 1998-02-12 03:02:14 +0000 |
commit | 9dee8ee4e4fca545ae4b2a2d41aa748cdc8cac1a (patch) | |
tree | 39139a8cfbfcc7907bc0a6a5a7068ff53f457b59 /gtk/gtkfixed.c | |
parent | 31a238b6b67f5d45ecb0c82d950da47a85052108 (diff) | |
download | gdk-pixbuf-9dee8ee4e4fca545ae4b2a2d41aa748cdc8cac1a.tar.gz |
Fixed unrealize handler to comply with the documentation (which mentions
2018-02-11 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gtk/gtkclist.c:
* gtk/gtkentry.c:
* gtk/gtkfixed.c:
* gtk/gtkhandlebox.c:
* gtk/gtknotebook.c:
* gtk/gtkpaned.c:
* gtk/gtkpreview.c:
* gtk/gtkrange.c:
* gtk/gtkruler.c:
* gtk/gtktext.c:
* gtk/gtkviewport.c:
Fixed unrealize handler to comply with the
documentation (which mentions the right thing to do).
Diffstat (limited to 'gtk/gtkfixed.c')
-rw-r--r-- | gtk/gtkfixed.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/gtk/gtkfixed.c b/gtk/gtkfixed.c index 2a1b35e2f..9b304cffc 100644 --- a/gtk/gtkfixed.c +++ b/gtk/gtkfixed.c @@ -23,7 +23,6 @@ static void gtk_fixed_init (GtkFixed *fixed); static void gtk_fixed_map (GtkWidget *widget); static void gtk_fixed_unmap (GtkWidget *widget); static void gtk_fixed_realize (GtkWidget *widget); -static void gtk_fixed_unrealize (GtkWidget *widget); static void gtk_fixed_size_request (GtkWidget *widget, GtkRequisition *requisition); static void gtk_fixed_size_allocate (GtkWidget *widget, @@ -86,7 +85,6 @@ gtk_fixed_class_init (GtkFixedClass *class) widget_class->map = gtk_fixed_map; widget_class->unmap = gtk_fixed_unmap; widget_class->realize = gtk_fixed_realize; - widget_class->unrealize = gtk_fixed_unrealize; widget_class->size_request = gtk_fixed_size_request; widget_class->size_allocate = gtk_fixed_size_allocate; widget_class->draw = gtk_fixed_draw; @@ -247,20 +245,6 @@ gtk_fixed_realize (GtkWidget *widget) } static void -gtk_fixed_unrealize (GtkWidget *widget) -{ - g_return_if_fail (widget != NULL); - g_return_if_fail (GTK_IS_FIXED (widget)); - - GTK_WIDGET_UNSET_FLAGS (widget, GTK_REALIZED | GTK_MAPPED); - - gtk_style_detach (widget->style); - gdk_window_set_user_data (widget->window, NULL); - gdk_window_destroy (widget->window); - widget->window = NULL; -} - -static void gtk_fixed_size_request (GtkWidget *widget, GtkRequisition *requisition) { |