GtkSidebar: Fix a property type

The GtkSidebar:stack was meant to be an object property
of type GTK_TYPE_STACK. Make it so.
This commit is contained in:
Matthias Clasen 2014-10-02 21:59:55 -04:00
parent 5b36bd704b
commit db5cbce4d5

View File

@ -433,9 +433,10 @@ gtk_sidebar_class_init (GtkSidebarClass *klass)
object_class->get_property = gtk_sidebar_get_property;
obj_properties[PROP_STACK] =
g_param_spec_pointer ("stack", P_("Stack"),
P_("Associated stack for this GtkSidebar"),
G_PARAM_READWRITE);
g_param_spec_object (I_("stack"), P_("Stack"),
P_("Associated stack for this GtkSidebar"),
GTK_TYPE_STACK,
G_PARAM_READWRITE|G_PARAM_STATIC_STRINGS|G_PARAM_EXPLICIT_NOTIFY);
g_object_class_install_properties (object_class, N_PROPERTIES, obj_properties);
}