Use constructor to create static notebook

This commit is contained in:
Christian Dywan 2012-07-03 01:39:56 +02:00
parent ec2a7446e4
commit 64d9533f7b
1 changed files with 1 additions and 1 deletions

View 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