summaryrefslogtreecommitdiff
path: root/src/eom-window.c
diff options
context:
space:
mode:
authorinfirit <[email protected]>2014-05-17 16:34:14 +0200
committerinfirit <[email protected]>2014-07-24 18:05:54 +0200
commit4c3cd50809b82b3d166db21f69d9fe11caf493f8 (patch)
tree156cbfd86778e0eb56d2a3131810898e104df52b /src/eom-window.c
parent5115e68d942f1bdae0729841ae420de1a5c61840 (diff)
downloadeom-4c3cd50809b82b3d166db21f69d9fe11caf493f8.tar.bz2
eom-4c3cd50809b82b3d166db21f69d9fe11caf493f8.tar.xz
Use gtk_widget_hide instead of gtk_widget_hide_all
gtk_widget_hide_all is deprecated in gtk+2.24 for gtk_widget_hide.
Diffstat (limited to 'src/eom-window.c')
-rw-r--r--src/eom-window.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/eom-window.c b/src/eom-window.c
index 597f129..82bfe42 100644
--- a/src/eom-window.c
+++ b/src/eom-window.c
@@ -76,7 +76,6 @@
#endif
#if GTK_CHECK_VERSION(3, 0, 0)
-#define gtk_widget_hide_all(w) gtk_widget_hide(w)
#define MATE_DESKTOP_USE_UNSTABLE_API
#include <libmate-desktop/mate-desktop-utils.h>
#endif
@@ -1884,7 +1883,7 @@ fullscreen_timeout_cb (gpointer data)
{
EomWindow *window = EOM_WINDOW (data);
- gtk_widget_hide_all (window->priv->fullscreen_popup);
+ gtk_widget_hide (window->priv->fullscreen_popup);
eom_scroll_view_hide_cursor (EOM_SCROLL_VIEW (window->priv->view));
@@ -2184,7 +2183,7 @@ update_ui_visibility (EomWindow *window)
}
if (priv->fullscreen_popup != NULL) {
- gtk_widget_hide_all (priv->fullscreen_popup);
+ gtk_widget_hide (priv->fullscreen_popup);
}
}
@@ -5121,7 +5120,7 @@ eom_window_focus_out_event (GtkWidget *widget, GdkEventFocus *event)
priv->mode == EOM_WINDOW_MODE_SLIDESHOW;
if (fullscreen) {
- gtk_widget_hide_all (priv->fullscreen_popup);
+ gtk_widget_hide (priv->fullscreen_popup);
}
return GTK_WIDGET_CLASS (eom_window_parent_class)->focus_out_event (widget, event);