Fix a typo in the toolbar style callback which could cause a crash

This commit is contained in:
Christian Dywan 2009-07-19 19:10:18 +02:00
parent e241273ad5
commit 5dbe1f02ef

View file

@ -2291,7 +2291,7 @@ midori_browser_navigationbar_notify_style_cb (GObject* object,
g_object_get (browser->settings, "toolbar-style", &toolbar_style, NULL);
if (toolbar_style == MIDORI_TOOLBAR_DEFAULT)
{
g_object_get (browser->settings,
g_object_get (object,
"gtk-toolbar-style", &gtk_toolbar_style, NULL);
gtk_toolbar_set_style (GTK_TOOLBAR (browser->navigationbar),
gtk_toolbar_style);