[gtk+/refactor: 96/138] gtk/gtkaboutdialog.c: use accessor functions to access GtkWidget
- From: Javier Jardón <jjardon src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/refactor: 96/138] gtk/gtkaboutdialog.c: use accessor functions to access GtkWidget
- Date: Mon, 16 Aug 2010 06:17:31 +0000 (UTC)
commit 4725311f76019e41662da96e3762729f2791c9ac
Author: Javier Jardón <jjardon gnome org>
Date: Wed Aug 11 23:19:31 2010 +0200
gtk/gtkaboutdialog.c: use accessor functions to access GtkWidget
gtk/gtkaboutdialog.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkaboutdialog.c b/gtk/gtkaboutdialog.c
index acf1aff..250793a 100644
--- a/gtk/gtkaboutdialog.c
+++ b/gtk/gtkaboutdialog.c
@@ -2010,7 +2010,8 @@ text_view_visibility_notify_event (GtkWidget *text_view,
{
GdkDevice *dev = d->data;
- gdk_window_get_device_position (text_view->window, dev, &wx, &wy, NULL);
+ gdk_window_get_device_position (gtk_widget_get_window (text_view), dev,
+ &wx, &wy, NULL);
gtk_text_view_window_to_buffer_coords (GTK_TEXT_VIEW (text_view),
GTK_TEXT_WINDOW_WIDGET,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]