[gtk+] mir: actually pass the GdkMirScreen to display config change cb



commit 92c2e99ddac668d729f42bff501f70fb56fbb76c
Author: Marco Trevisan (TreviƱo) <mail 3v1n0 net>
Date:   Thu Nov 13 01:27:05 2014 +0100

    mir: actually pass the GdkMirScreen to display config change cb

 gdk/mir/gdkmirscreen.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gdk/mir/gdkmirscreen.c b/gdk/mir/gdkmirscreen.c
index befc84c..987f9ea 100644
--- a/gdk/mir/gdkmirscreen.c
+++ b/gdk/mir/gdkmirscreen.c
@@ -124,7 +124,7 @@ _gdk_mir_screen_new (GdkDisplay *display)
 
   screen = g_object_new (GDK_TYPE_MIR_SCREEN, NULL);
   screen->display = display;
-  mir_connection_set_display_config_change_callback (get_connection (screen), config_changed_cb, display);
+  mir_connection_set_display_config_change_callback (get_connection (screen), config_changed_cb, screen);
   update_display_config (screen);
 
   return GDK_SCREEN (screen);


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