diff options
author | Javier Jardón <jjardon@gnome.org> | 2010-08-16 00:38:12 +0200 |
---|---|---|
committer | Javier Jardón <jjardon@gnome.org> | 2010-08-22 18:27:51 +0200 |
commit | 876c0b29371b1d09543cc33728415408526c1cd5 (patch) | |
tree | 0b45499d9504c8367aba2351774318e21e4ca7b5 /demos | |
parent | 5fa4a05cccc818d60bb773cc51056436e16694af (diff) | |
download | gtk+-876c0b29371b1d09543cc33728415408526c1cd5.tar.gz |
demos/gtk-demo/changedisplay.c: Use accessor functions to access GtkWidget
Diffstat (limited to 'demos')
-rw-r--r-- | demos/gtk-demo/changedisplay.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/gtk-demo/changedisplay.c b/demos/gtk-demo/changedisplay.c index b178364657..42baf3bc19 100644 --- a/demos/gtk-demo/changedisplay.c +++ b/demos/gtk-demo/changedisplay.c @@ -128,7 +128,7 @@ query_for_toplevel (GdkScreen *screen, gtk_widget_show_all (popup); cursor = gdk_cursor_new_for_display (display, GDK_CROSSHAIR); - if (gdk_pointer_grab (popup->window, FALSE, + if (gdk_pointer_grab (gtk_widget_get_window (popup), FALSE, GDK_BUTTON_RELEASE_MASK, NULL, cursor, |