[tasks/gnome3: 5/14] koto-date-combo: gdk_window_get_display, not _drawable_



commit df755e9fd11728cf84a1a98bf2b16d1b42caf44e
Author: Ross Burton <ross linux intel com>
Date:   Wed Apr 27 19:33:20 2011 +0100

    koto-date-combo: gdk_window_get_display, not _drawable_

 libkoto/koto-date-combo.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libkoto/koto-date-combo.c b/libkoto/koto-date-combo.c
index 789a8d7..e9aa1e5 100644
--- a/libkoto/koto-date-combo.c
+++ b/libkoto/koto-date-combo.c
@@ -76,7 +76,7 @@ popup_grab_on_window (GdkWindow *window,
     if (!grab_keyboard || gdk_keyboard_grab (window, TRUE, activate_time) == 0) {
       return TRUE;
     } else {
-      gdk_display_pointer_ungrab (gdk_drawable_get_display (window), activate_time);
+      gdk_display_pointer_ungrab (gdk_window_get_display (window), activate_time);
       return FALSE;
     }
   }



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