From: Christian Dywan Date: Mon, 2 Jul 2012 23:39:56 +0000 (+0200) Subject: Use constructor to create static notebook X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=64d9533f7bc000be14a27b99a9cb3f7f57c8602a;p=midori Use constructor to create static notebook --- diff --git a/katze/katze-preferences.c b/katze/katze-preferences.c index e8a7e7f0..cb95a146 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