[gtk+/rendering-cleanup-next: 184/203] dnd-quartz: Get rid of gdk_drawable_get_size() usage
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/rendering-cleanup-next: 184/203] dnd-quartz: Get rid of gdk_drawable_get_size() usage
- Date: Thu, 23 Sep 2010 10:46:33 +0000 (UTC)
commit a2f0f6aa9002afe33c40ce73dadb81cac886af3f
Author: Benjamin Otte <otte redhat com>
Date: Mon Sep 20 16:46:48 2010 +0200
dnd-quartz: Get rid of gdk_drawable_get_size() usage
gtk/gtkdnd-quartz.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkdnd-quartz.c b/gtk/gtkdnd-quartz.c
index fa7a557..fc48b94 100644
--- a/gtk/gtkdnd-quartz.c
+++ b/gtk/gtkdnd-quartz.c
@@ -696,7 +696,8 @@ gtk_drag_find_widget (GtkWidget *widget,
{
GdkRectangle window_rect = { 0, 0, 0, 0 };
- gdk_drawable_get_size (window, &window_rect.width, &window_rect.height);
+ window_rect.width = gdk_window_get_width (window);
+ window_rect.height = gdk_window_get_height (window);
gdk_rectangle_intersect (&new_allocation, &window_rect, &new_allocation);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]