diff options
author | Matthias Clasen <mclasen@redhat.com> | 2010-09-18 19:57:32 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2010-09-26 22:18:19 -0400 |
commit | f53ad339941a6cab1468eef279bd518992ae68bc (patch) | |
tree | e459767bbc1eb9cd30ae0ced0422eabbff5809a3 /gtk/gtknotebook.c | |
parent | eac1959d2c843dfc55353ffc89c16b74cb26e9bc (diff) | |
download | gtk+-f53ad339941a6cab1468eef279bd518992ae68bc.tar.gz |
Remove GtkObject completely
Diffstat (limited to 'gtk/gtknotebook.c')
-rw-r--r-- | gtk/gtknotebook.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gtk/gtknotebook.c b/gtk/gtknotebook.c index d6c018eb84..c5b880c0f1 100644 --- a/gtk/gtknotebook.c +++ b/gtk/gtknotebook.c @@ -1702,7 +1702,7 @@ gtk_notebook_map (GtkWidget *widget) { if (priv->action_widget[i] && gtk_widget_get_visible (priv->action_widget[i]) && - GTK_WIDGET_CHILD_VISIBLE (priv->action_widget[i]) && + gtk_widget_get_child_visible (priv->action_widget[i]) && !gtk_widget_get_mapped (priv->action_widget[i])) gtk_widget_map (priv->action_widget[i]); } @@ -4527,10 +4527,9 @@ gtk_notebook_real_remove (GtkNotebook *notebook, GList * next_list; gint need_resize = FALSE; GtkWidget *tab_label; - gboolean destroying; - destroying = GTK_OBJECT_FLAGS (notebook) & GTK_IN_DESTRUCTION; + destroying = gtk_widget_in_destruction (notebook); next_list = gtk_notebook_search_page (notebook, list, STEP_NEXT, TRUE); if (!next_list) |