[Xfce4-commits] <midori:master> It should be 'gint position', not gboolean

Christian Dywan noreply at xfce.org
Sun Jan 10 07:24:03 CET 2010


Updating branch refs/heads/master
         to de4eede5cc81accf5fdfabb0f755c7c0a34b3abc (commit)
       from a7cbc7398108519a5b4754beb6a1e4816e916d12 (commit)

commit de4eede5cc81accf5fdfabb0f755c7c0a34b3abc
Author: André Stösel <Midori-Plugin at PyIT.de>
Date:   Sat Jan 9 23:12:14 2010 +0100

    It should be 'gint position', not gboolean

 midori/midori-browser.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/midori/midori-browser.c b/midori/midori-browser.c
index bc1821e..ce6393b 100644
--- a/midori/midori-browser.c
+++ b/midori/midori-browser.c
@@ -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;



More information about the Xfce4-commits mailing list