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

View file

@ -210,7 +210,7 @@ katze_preferences_prepare (KatzePreferences* preferences)
G_CALLBACK (gtk_widget_destroyed), &priv->scrolled); G_CALLBACK (gtk_widget_destroyed), &priv->scrolled);
#else #else
#if HAVE_GRANITE #if HAVE_GRANITE
priv->notebook = g_object_new (GRANITE_WIDGETS_TYPE_STATIC_NOTEBOOK, NULL); priv->notebook = granite_widgets_static_notebook_new (FALSE);
#else #else
priv->notebook = gtk_notebook_new (); priv->notebook = gtk_notebook_new ();
#endif #endif