diff options
Diffstat (limited to 'gtk/gtkpathbar.c')
-rw-r--r-- | gtk/gtkpathbar.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkpathbar.c b/gtk/gtkpathbar.c index b86a8f421d..81d06c642d 100644 --- a/gtk/gtkpathbar.c +++ b/gtk/gtkpathbar.c @@ -714,7 +714,7 @@ static void gtk_path_bar_remove_1 (GtkContainer *container, GtkWidget *widget) { - gboolean was_visible = GTK_WIDGET_VISIBLE (widget); + gboolean was_visible = gtk_widget_get_visible (widget); gtk_widget_unparent (widget); if (was_visible) gtk_widget_queue_resize (GTK_WIDGET (container)); |