[gnome-disk-utility] Fix an error in previous commit



commit 2b263077d8d5572814327c9076696e2a0c745edc
Author: Jonh Wendell <jwendell gnome org>
Date:   Tue Sep 14 16:21:09 2010 -0300

    Fix an error in previous commit

 src/gdu-gtk/gdu-volume-grid.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gdu-gtk/gdu-volume-grid.c b/src/gdu-gtk/gdu-volume-grid.c
index 6044fa9..e6cc7bb 100644
--- a/src/gdu-gtk/gdu-volume-grid.c
+++ b/src/gdu-gtk/gdu-volume-grid.c
@@ -268,7 +268,7 @@ is_ctrl_pressed (void)
         ret = FALSE;
 
         gdk_error_trap_push ();
-        status = XkbGetState (gdk_display_get_default (), XkbUseCoreKbd, &state);
+        status = XkbGetState (GDK_DISPLAY_XDISPLAY (gdk_display_get_default ()), XkbUseCoreKbd, &state);
         gdk_error_trap_pop ();
 
         if (status == Success) {



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