It should be 'gint position', not gboolean

This commit is contained in:
André Stösel 2010-01-09 23:12:14 +01:00 committed by Christian Dywan
parent a7cbc73981
commit de4eede5cc

View file

@ -4808,7 +4808,7 @@ _action_panel_activate (GtkToggleAction* action,
static gboolean static gboolean
midori_browser_panel_timeout (GtkWidget* hpaned) 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); MidoriBrowser* browser = midori_browser_get_for_widget (hpaned);
g_object_set (browser->settings, "last-panel-position", position, NULL); g_object_set (browser->settings, "last-panel-position", position, NULL);
browser->panel_timeout = 0; browser->panel_timeout = 0;