[eog/gnome-2-32: 31/34] Don't try to set the scrollview's parent's shadow-type property
- From: Claudio Saavedra <csaavedra src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [eog/gnome-2-32: 31/34] Don't try to set the scrollview's parent's shadow-type property
- Date: Wed, 4 Aug 2010 22:14:20 +0000 (UTC)
commit 3d699572a98d1c8da21e9479dc1aafe5392c31f2
Author: Felix Riemann <friemann gnome org>
Date: Thu Jul 22 19:40:19 2010 +0200
Don't try to set the scrollview's parent's shadow-type property
With commit e41b97bb the parent switched from a GtkFrame to a GtkHPaned
which doesn't have that property.
src/eog-window.c | 8 --------
1 files changed, 0 insertions(+), 8 deletions(-)
---
diff --git a/src/eog-window.c b/src/eog-window.c
index 630efd8..9c93e54 100644
--- a/src/eog-window.c
+++ b/src/eog-window.c
@@ -2202,10 +2202,6 @@ eog_window_run_fullscreen (EogWindow *window, gboolean slideshow)
g_assert (GTK_IS_WIDGET (menubar));
gtk_widget_hide (menubar);
- g_object_set (G_OBJECT (gtk_widget_get_parent (priv->view)),
- "shadow-type", GTK_SHADOW_NONE,
- NULL);
-
g_signal_connect (priv->view,
"motion-notify-event",
G_CALLBACK (fullscreen_motion_notify_cb),
@@ -2302,10 +2298,6 @@ eog_window_stop_fullscreen (EogWindow *window, gboolean slideshow)
slideshow_clear_timeout (window);
}
- g_object_set (G_OBJECT (gtk_widget_get_parent (priv->view)),
- "shadow-type", GTK_SHADOW_IN,
- NULL);
-
g_signal_handlers_disconnect_by_func (priv->view,
(gpointer) fullscreen_motion_notify_cb,
window);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]