]> spindle.queued.net Git - midori/commitdiff
Fix a typo in the toolbar style callback which could cause a crash
authorChristian Dywan <christian@twotoasts.de>
Sun, 19 Jul 2009 17:10:18 +0000 (19:10 +0200)
committerChristian Dywan <christian@twotoasts.de>
Sun, 19 Jul 2009 17:10:18 +0000 (19:10 +0200)
midori/midori-browser.c

index 2c166e0dfd8a4653ed163edf92330b7c246e8f55..aa6e4518f5c7ef525e5ca186c398d280e8977d89 100644 (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);