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/gtktoolbar.c | |
parent | 8991603c88d912c3d0c9d8dd8ab42e66954d9f30 (diff) | |
download | gtk+-f5615022a7e74a752fa9050505970d5a87aa69f9.tar.gz |
Use accessor functions to access GtkButton
Diffstat (limited to 'gtk/gtktoolbar.c')
-rw-r--r-- | gtk/gtktoolbar.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtktoolbar.c b/gtk/gtktoolbar.c index 87b180f999..c6f520ccd1 100644 --- a/gtk/gtktoolbar.c +++ b/gtk/gtktoolbar.c @@ -2603,7 +2603,7 @@ menu_position_func (GtkMenu *menu, gtk_widget_get_allocation (priv->arrow_button, &allocation); - 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); if (priv->orientation == GTK_ORIENTATION_HORIZONTAL) { if (gtk_widget_get_direction (GTK_WIDGET (toolbar)) == GTK_TEXT_DIR_LTR) |