From 5dbe1f02ef24399364e7b77a1a9f16b33f7231eb Mon Sep 17 00:00:00 2001 From: Christian Dywan Date: Sun, 19 Jul 2009 19:10:18 +0200 Subject: [PATCH] Fix a typo in the toolbar style callback which could cause a crash --- midori/midori-browser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.39.5