[gnumeric] compilation: kill some gdk_drawable_* calls.
- From: Morten Welinder <mortenw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnumeric] compilation: kill some gdk_drawable_* calls.
- Date: Thu, 2 Dec 2010 20:28:42 +0000 (UTC)
commit 9651a8d0581442a7173bf23f1011b10bea9dcb26
Author: Morten Welinder <terra gnome org>
Date: Thu Dec 2 15:28:19 2010 -0500
compilation: kill some gdk_drawable_* calls.
src/gui-util.c | 2 +-
src/widgets/gnm-cell-combo-view.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/gui-util.c b/src/gui-util.c
index d0ca406..d9db750 100644
--- a/src/gui-util.c
+++ b/src/gui-util.c
@@ -1211,7 +1211,7 @@ gnm_widget_set_cursor (GtkWidget *w, GdkCursor *cursor)
void
gnm_widget_set_cursor_type (GtkWidget *w, GdkCursorType ct)
{
- GdkDisplay *display = gdk_drawable_get_display (gtk_widget_get_window (w));
+ GdkDisplay *display = gtk_widget_get_display (w);
GdkCursor *cursor = gdk_cursor_new_for_display (display, ct);
gnm_widget_set_cursor (w, cursor);
gdk_cursor_unref (cursor);
diff --git a/src/widgets/gnm-cell-combo-view.c b/src/widgets/gnm-cell-combo-view.c
index 487bb2c..40a8214 100644
--- a/src/widgets/gnm-cell-combo-view.c
+++ b/src/widgets/gnm-cell-combo-view.c
@@ -402,7 +402,7 @@ gnm_cell_combo_view_popdown (SheetObjectView *sov, guint32 activate_time)
gtk_grab_add (popup);
} else {
gdk_display_pointer_ungrab
- (gdk_drawable_get_display (popup_window),
+ (gtk_widget_get_display (popup),
activate_time);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]