summaryrefslogtreecommitdiff
path: root/tests/testtoolbar.c
diff options
context:
space:
mode:
authorJavier Jardón <jjardon@gnome.org>2010-08-14 02:17:59 +0200
committerJavier Jardón <jjardon@gnome.org>2010-08-14 02:25:33 +0200
commit374d5094a386b3415dd5e1fa27f1a2d9673d457b (patch)
tree42e543f7861c9fbb1a752bdae5d17fed2eb27d79 /tests/testtoolbar.c
parent83c20d4b3201820524b90efd54616587ea76bb0d (diff)
downloadgtk+-374d5094a386b3415dd5e1fa27f1a2d9673d457b.tar.gz
Use accessor functions to access GtkToolbar
Diffstat (limited to 'tests/testtoolbar.c')
-rw-r--r--tests/testtoolbar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/testtoolbar.c b/tests/testtoolbar.c
index 7dc6254ec0..6bdad7abfb 100644
--- a/tests/testtoolbar.c
+++ b/tests/testtoolbar.c
@@ -562,7 +562,7 @@ main (gint argc, gchar **argv)
for (i = 0; i < G_N_ELEMENTS (toolbar_styles); i++)
gtk_combo_box_append_text (GTK_COMBO_BOX (option_menu), toolbar_styles[i]);
gtk_combo_box_set_active (GTK_COMBO_BOX (option_menu),
- GTK_TOOLBAR (toolbar)->style);
+ gtk_toolbar_get_style (GTK_TOOLBAR (toolbar)));
gtk_box_pack_start (GTK_BOX (hbox2), option_menu, FALSE, FALSE, 0);
g_signal_connect (option_menu, "changed",
G_CALLBACK (change_toolbar_style), toolbar);