]> Pileus Git - ~andy/gtk/commitdiff
param spec fix
authorTim Janik <timj@src.gnome.org>
Wed, 14 Nov 2001 03:03:54 +0000 (03:03 +0000)
committerTim Janik <timj@src.gnome.org>
Wed, 14 Nov 2001 03:03:54 +0000 (03:03 +0000)
tests/prop-editor.c

index bbfa2163dc19ce28ba0eecfaed77959794335913..6967b9328e07d108ac52a2883d4bb983bfb50580 100644 (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);