[eog] Don't try to set the scrollview's parent's shadow-type property



commit af3c9a45dcbf2adccdbcd3d9816fca65a2e0263c
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 9f59ab2..8302050 100644
--- a/src/eog-window.c
+++ b/src/eog-window.c
@@ -1928,10 +1928,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),
@@ -2025,10 +2021,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]