It should be 'gint position', not gboolean
This commit is contained in:
parent
a7cbc73981
commit
de4eede5cc
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue