diff options
author | Javier Jardón <jjardon@gnome.org> | 2010-10-19 02:00:10 +0200 |
---|---|---|
committer | Javier Jardón <jjardon@gnome.org> | 2010-10-26 06:07:42 +0200 |
commit | f5615022a7e74a752fa9050505970d5a87aa69f9 (patch) | |
tree | cf35d35d5f22ad887aea23a43dc9328d441a803b /gtk/gtkmenutoolbutton.c | |
parent | 8991603c88d912c3d0c9d8dd8ab42e66954d9f30 (diff) | |
download | gtk+-f5615022a7e74a752fa9050505970d5a87aa69f9.tar.gz |
Use accessor functions to access GtkButton
Diffstat (limited to 'gtk/gtkmenutoolbutton.c')
-rw-r--r-- | gtk/gtkmenutoolbutton.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkmenutoolbutton.c b/gtk/gtkmenutoolbutton.c index 65bffeb901..940b4f20a0 100644 --- a/gtk/gtkmenutoolbutton.c +++ b/gtk/gtkmenutoolbutton.c @@ -310,7 +310,7 @@ menu_position_func (GtkMenu *menu, } else { - gdk_window_get_origin (GTK_BUTTON (priv->arrow_button)->event_window, x, y); + gdk_window_get_origin (gtk_button_get_event_window (GTK_BUTTON (priv->arrow_button)), x, y); gtk_widget_get_preferred_size (priv->arrow_button, &req, NULL); |