[Xfce4-commits] <midori:master> Use constructor to create static notebook

Christian Dywan noreply at xfce.org
Tue Jul 3 01:48:02 CEST 2012


Updating branch refs/heads/master
         to 64d9533f7bc000be14a27b99a9cb3f7f57c8602a (commit)
       from ec2a7446e411c0de2f330ca2be2a4ad23a08e710 (commit)

commit 64d9533f7bc000be14a27b99a9cb3f7f57c8602a
Author: Christian Dywan <christian at twotoasts.de>
Date:   Tue Jul 3 01:39:56 2012 +0200

    Use constructor to create static notebook

 katze/katze-preferences.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/katze/katze-preferences.c b/katze/katze-preferences.c
index e8a7e7f..cb95a14 100644
--- a/katze/katze-preferences.c
+++ b/katze/katze-preferences.c
@@ -210,7 +210,7 @@ katze_preferences_prepare (KatzePreferences* preferences)
                       G_CALLBACK (gtk_widget_destroyed), &priv->scrolled);
     #else
     #if HAVE_GRANITE
-    priv->notebook = g_object_new (GRANITE_WIDGETS_TYPE_STATIC_NOTEBOOK, NULL);
+    priv->notebook = granite_widgets_static_notebook_new (FALSE);
     #else
     priv->notebook = gtk_notebook_new ();
     #endif


More information about the Xfce4-commits mailing list