]> spindle.queued.net Git - midori/commitdiff
Use constructor to create static notebook
authorChristian Dywan <christian@twotoasts.de>
Mon, 2 Jul 2012 23:39:56 +0000 (01:39 +0200)
committerChristian Dywan <christian@twotoasts.de>
Mon, 2 Jul 2012 23:46:02 +0000 (01:46 +0200)
katze/katze-preferences.c

index e8a7e7f01363a9bf41f98bfe4d7b3e601744f9ff..cb95a146341f8aae74dbde7f86d8703d77eb2a7d 100644 (file)
@@ -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