diff options
author | raveit65 <[email protected]> | 2016-02-27 22:57:31 +0100 |
---|---|---|
committer | raveit65 <[email protected]> | 2016-02-27 22:57:31 +0100 |
commit | 4a02ac7e97e2e419f477df09607abeffb5646dfe (patch) | |
tree | 260d7859d92ea7332c20c3a0f6da30c64b5b4255 | |
parent | 7e5a1a488dffb82ee2c52472ed69f2c6c9b9ea55 (diff) | |
download | eom-4a02ac7e97e2e419f477df09607abeffb5646dfe.tar.bz2 eom-4a02ac7e97e2e419f477df09607abeffb5646dfe.tar.xz |
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
example warning:
(eom:10676): GLib-GObject-WARNING **: gsignal.c:2417: signal 'size_request' is invalid for instance '0x563599a10b00' of type 'GtkWindow'
taken from:
https://git.gnome.org/browse/eog/commit/?id=1cc2606
-rw-r--r-- | src/eom-window.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/eom-window.c b/src/eom-window.c index 26c2463..2981f0f 100644 --- a/src/eom-window.c +++ b/src/eom-window.c @@ -1677,14 +1677,6 @@ screen_size_changed_cb (GdkScreen *screen, EomWindow *window) eom_window_update_fullscreen_popup (window); } -static void -fullscreen_popup_size_request_cb (GtkWidget *popup, - GtkRequisition *req, - EomWindow *window) -{ - eom_window_update_fullscreen_popup (window); -} - static gboolean fullscreen_timeout_cb (gpointer data) { @@ -1913,10 +1905,6 @@ eom_window_create_fullscreen_popup (EomWindow *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), |