From: Christian Dywan Date: Sun, 19 Jul 2009 17:10:18 +0000 (+0200) Subject: Fix a typo in the toolbar style callback which could cause a crash X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5dbe1f02ef24399364e7b77a1a9f16b33f7231eb;p=midori Fix a typo in the toolbar style callback which could cause a crash --- diff --git a/midori/midori-browser.c b/midori/midori-browser.c index 2c166e0d..aa6e4518 100644 --- a/midori/midori-browser.c +++ b/midori/midori-browser.c @@ -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", >k_toolbar_style, NULL); gtk_toolbar_set_style (GTK_TOOLBAR (browser->navigationbar), gtk_toolbar_style);