[tasks] koto-date-combo: gdk_window_get_display, not _drawable_



commit 5ddfaa220a163e6cb74b7a17d436dc1e930f602f
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]