[eog] Drop size-request signal callback for fullscreen toolbar



commit 1cc2606adac0d8a2b7428dbc17088b23810ca599
Author: Felix Riemann <friemann gnome org>
Date:   Fri Jun 24 14:54:12 2011 +0200

    Drop size-request signal callback for fullscreen toolbar
    
    Didn't work with GTK-3 and caused critical warnings when entering
    fullscreen mode. Just removing the callback seems to be sufficient as
    the toolbar's size request is set when entering fullscreen mode anyway.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=653162

 src/eog-window.c |   12 ------------
 1 files changed, 0 insertions(+), 12 deletions(-)
---
diff --git a/src/eog-window.c b/src/eog-window.c
index 5d249e8..224a210 100644
--- a/src/eog-window.c
+++ b/src/eog-window.c
@@ -1675,14 +1675,6 @@ screen_size_changed_cb (GdkScreen *screen, EogWindow *window)
 	eog_window_update_fullscreen_popup (window);
 }
 
-static void
-fullscreen_popup_size_request_cb (GtkWidget      *popup,
-				  GtkRequisition *req,
-				  EogWindow      *window)
-{
-	eog_window_update_fullscreen_popup (window);
-}
-
 static gboolean
 fullscreen_timeout_cb (gpointer data)
 {
@@ -1905,10 +1897,6 @@ eog_window_create_fullscreen_popup (EogWindow *window)
 			         G_CALLBACK (screen_size_changed_cb),
 				 window, 0);
 
-	g_signal_connect_object (popup, "size_request",
-			         G_CALLBACK (fullscreen_popup_size_request_cb),
-				 window, 0);
-
 	g_signal_connect (popup,
 			  "enter-notify-event",
 			  G_CALLBACK (fullscreen_leave_notify_cb),



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]