]> spindle.queued.net Git - midori/commitdiff
It should be 'gint position', not gboolean
authorAndré Stösel <Midori-Plugin@PyIT.de>
Sat, 9 Jan 2010 22:12:14 +0000 (23:12 +0100)
committerChristian Dywan <christian@twotoasts.de>
Sun, 10 Jan 2010 06:22:20 +0000 (07:22 +0100)
midori/midori-browser.c

index bc1821e9f83dec305c15414b49693826b0290c03..ce6393b4380688300862545ea13a455880a2a223 100644 (file)
@@ -4808,7 +4808,7 @@ _action_panel_activate (GtkToggleAction* action,
 static gboolean
 midori_browser_panel_timeout (GtkWidget* hpaned)
 {
-    gboolean position = gtk_paned_get_position (GTK_PANED (hpaned));
+    gint position = gtk_paned_get_position (GTK_PANED (hpaned));
     MidoriBrowser* browser = midori_browser_get_for_widget (hpaned);
     g_object_set (browser->settings, "last-panel-position", position, NULL);
     browser->panel_timeout = 0;