Use constructor to create static notebook
This commit is contained in:
parent
ec2a7446e4
commit
64d9533f7b
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue