[gtk+] inspector: Don't connect to nonexisting signal



commit be8c0b27afb1b019487dac2cb771457b1aadf97b
Author: Benjamin Otte <otte redhat com>
Date:   Thu Oct 27 06:14:01 2016 +0200

    inspector: Don't connect to nonexisting signal
    
    The GdkScreen::size-changed signal was removed a while ago.
    
    And because signal changes don't trip the compiler, there are always
    leftovers...

 gtk/inspector/general.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/gtk/inspector/general.c b/gtk/inspector/general.c
index 65de84b..d9598ee 100644
--- a/gtk/inspector/general.c
+++ b/gtk/inspector/general.c
@@ -468,7 +468,6 @@ init_display (GtkInspectorGeneral *gen)
 
   screen = gdk_screen_get_default ();
 
-  g_signal_connect (screen, "size-changed", G_CALLBACK (populate_display), gen);
   g_signal_connect (screen, "composited-changed", G_CALLBACK (populate_display), gen);
   g_signal_connect (screen, "monitors-changed", G_CALLBACK (populate_display), gen);
 


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