param spec fix

This commit is contained in:
Tim Janik
2001-11-14 03:03:54 +00:00
parent 43d4639743
commit 5bf9210047

View File

@@ -695,7 +695,7 @@ properties_from_type (GObject *object,
continue;
}
label = gtk_label_new (g_param_get_nick (spec));
label = gtk_label_new (g_param_spec_get_nick (spec));
gtk_misc_set_alignment (GTK_MISC (label), 0.0, 0.5);
gtk_table_attach_defaults (GTK_TABLE (table), label, 0, 1, i, i + 1);
@@ -707,8 +707,8 @@ properties_from_type (GObject *object,
if (!can_modify)
gtk_widget_set_sensitive (prop_edit, FALSE);
if (g_param_get_blurb (spec))
gtk_tooltips_set_tip (tips, prop_edit, g_param_get_blurb (spec), NULL);
if (g_param_spec_get_blurb (spec))
gtk_tooltips_set_tip (tips, prop_edit, g_param_spec_get_blurb (spec), NULL);
/* set initial value */
g_object_notify (object, spec->name);