diff options
author | Timm Bäder <mail@baedert.org> | 2016-11-04 10:04:44 +0100 |
---|---|---|
committer | Timm Bäder <mail@baedert.org> | 2016-11-05 11:56:36 +0100 |
commit | 846cf681e8602399e172c256a93cd7484708219a (patch) | |
tree | 790059314c7548a9ea10353ddcc72dfbcfdc9133 /gtk/gtkshortcutssection.c | |
parent | 34626eaa161401838445510a64b0edba4713b45e (diff) | |
download | gtk+-846cf681e8602399e172c256a93cd7484708219a.tar.gz |
Remove gtk_widget_set_mapped
Let all the remaining callers chain up.
Diffstat (limited to 'gtk/gtkshortcutssection.c')
-rw-r--r-- | gtk/gtkshortcutssection.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkshortcutssection.c b/gtk/gtkshortcutssection.c index 6ffca92356..38c1294bb1 100644 --- a/gtk/gtkshortcutssection.c +++ b/gtk/gtkshortcutssection.c @@ -192,7 +192,7 @@ gtk_shortcuts_section_map (GtkWidget *widget) if (self->need_reflow) gtk_shortcuts_section_reflow_groups (self); - gtk_widget_set_mapped (widget, TRUE); + GTK_WIDGET_CLASS (gtk_shortcuts_section_parent_class)->map (widget); map_child (GTK_WIDGET (self->stack)); map_child (GTK_WIDGET (self->footer)); @@ -203,7 +203,7 @@ gtk_shortcuts_section_unmap (GtkWidget *widget) { GtkShortcutsSection *self = GTK_SHORTCUTS_SECTION (widget); - gtk_widget_set_mapped (widget, FALSE); + GTK_WIDGET_CLASS (gtk_shortcuts_section_parent_class)->unmap (widget); gtk_widget_unmap (GTK_WIDGET (self->footer)); gtk_widget_unmap (GTK_WIDGET (self->stack)); |