[gtk+/refactor] tests/testxinerama.c: Use accessor functions to access GtkWidget
- From: Javier Jardón <jjardon src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/refactor] tests/testxinerama.c: Use accessor functions to access GtkWidget
- Date: Sun, 15 Aug 2010 22:40:25 +0000 (UTC)
commit a6f51039694767e054363692fbfe52b79e3d0fa1
Author: Javier Jardón <jjardon gnome org>
Date: Mon Aug 16 00:31:12 2010 +0200
tests/testxinerama.c: Use accessor functions to access GtkWidget
tests/testxinerama.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/tests/testxinerama.c b/tests/testxinerama.c
index d9d37a9..e41752a 100644
--- a/tests/testxinerama.c
+++ b/tests/testxinerama.c
@@ -32,7 +32,7 @@ request (GtkWidget *widget,
gchar *str;
GdkScreen *screen = gtk_widget_get_screen (widget);
gint i = gdk_screen_get_monitor_at_window (screen,
- widget->window);
+ gtk_widget_get_window (widget));
if (i < 0)
str = g_strdup ("<big><span foreground='white' background='black'>Not on a monitor </span></big>");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]