]> Pileus Git - ~andy/gtk/commitdiff
Fix the build
authorMatthias Clasen <mclasen@redhat.com>
Fri, 8 Mar 2013 11:26:15 +0000 (06:26 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 8 Mar 2013 11:26:34 +0000 (06:26 -0500)
This was broken in commit 5bbbc47a4c306653e8347f7afb85a940a503f755

gtk/gtkspinbutton.c

index f1a09c96394aa24533e20fc497c6a43351bdaf34..f05657cf42cc3915b68063a7aaddc6228b0c7ce4 100644 (file)
@@ -1053,7 +1053,7 @@ gtk_spin_button_realize (GtkWidget *widget)
    * 'output' signal; and if we don't have any explicit 'text' set initially,
    * fallback to the default output. */
   if (!return_val &&
-      (spin_button->numeric || gtk_entry_get_text (GTK_ENTRY (spin_button)) == NULL))
+      (spin_button->priv->numeric || gtk_entry_get_text (GTK_ENTRY (spin_button)) == NULL))
     gtk_spin_button_default_output (spin_button);
 
   gtk_widget_queue_resize (GTK_WIDGET (spin_button));