Fix a typo in the toolbar style callback which could cause a crash
This commit is contained in:
parent
e241273ad5
commit
5dbe1f02ef
1 changed files with 1 additions and 1 deletions
|
@ -2291,7 +2291,7 @@ midori_browser_navigationbar_notify_style_cb (GObject* object,
|
||||||
g_object_get (browser->settings, "toolbar-style", &toolbar_style, NULL);
|
g_object_get (browser->settings, "toolbar-style", &toolbar_style, NULL);
|
||||||
if (toolbar_style == MIDORI_TOOLBAR_DEFAULT)
|
if (toolbar_style == MIDORI_TOOLBAR_DEFAULT)
|
||||||
{
|
{
|
||||||
g_object_get (browser->settings,
|
g_object_get (object,
|
||||||
"gtk-toolbar-style", >k_toolbar_style, NULL);
|
"gtk-toolbar-style", >k_toolbar_style, NULL);
|
||||||
gtk_toolbar_set_style (GTK_TOOLBAR (browser->navigationbar),
|
gtk_toolbar_set_style (GTK_TOOLBAR (browser->navigationbar),
|
||||||
gtk_toolbar_style);
|
gtk_toolbar_style);
|
||||||
|
|
Loading…
Reference in a new issue