diff options
Diffstat (limited to 'shell')
-rw-r--r-- | shell/ev-sidebar-links.c | 2 | ||||
-rw-r--r-- | shell/ev-sidebar-thumbnails.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/shell/ev-sidebar-links.c b/shell/ev-sidebar-links.c index 4c2b7fe..569fdd5 100644 --- a/shell/ev-sidebar-links.c +++ b/shell/ev-sidebar-links.c @@ -542,7 +542,7 @@ ev_sidebar_links_set_current_page (EvSidebarLinks *sidebar_links, GtkTreeIter iter; /* Widget is not currently visible */ - if (!GTK_WIDGET_MAPPED (sidebar_links)) + if (!gtk_widget_get_mapped (GTK_WIDGET (sidebar_links))) return; selection = gtk_tree_view_get_selection (GTK_TREE_VIEW (sidebar_links->priv->tree_view)); diff --git a/shell/ev-sidebar-thumbnails.c b/shell/ev-sidebar-thumbnails.c index 16fe376..ad2c09f 100644 --- a/shell/ev-sidebar-thumbnails.c +++ b/shell/ev-sidebar-thumbnails.c @@ -503,7 +503,7 @@ adjustment_changed_cb (EvSidebarThumbnails *sidebar_thumbnails) gint wy2; /* Widget is not currently visible */ - if (!GTK_WIDGET_MAPPED (sidebar_thumbnails)) + if (!gtk_widget_get_mapped (GTK_WIDGET (sidebar_thumbnails))) return; if (priv->vadjustment->page_size == 0) |