Lines 163-169
Link Here
|
163 |
adj=gtk_adjustment_new(0,0,9999,1.0,5.0,0); |
163 |
adj=gtk_adjustment_new(0,0,9999,1.0,5.0,0); |
164 |
|
164 |
|
165 |
uinfo->year_spin_button=gtk_spin_button_new(GTK_ADJUSTMENT(adj),0.5,0); |
165 |
uinfo->year_spin_button=gtk_spin_button_new(GTK_ADJUSTMENT(adj),0.5,0); |
166 |
gtk_signal_connect(GTK_OBJECT(uinfo->year_spin_button),"changed", |
166 |
gtk_signal_connect(GTK_OBJECT(uinfo->year_spin_button),"value_changed", |
167 |
GTK_SIGNAL_FUNC(YearEditChanged),(gpointer)ginfo); |
167 |
GTK_SIGNAL_FUNC(YearEditChanged),(gpointer)ginfo); |
168 |
gtk_box_pack_start(GTK_BOX(hbox),uinfo->year_spin_button,TRUE,TRUE,0); |
168 |
gtk_box_pack_start(GTK_BOX(hbox),uinfo->year_spin_button,TRUE,TRUE,0); |
169 |
gtk_widget_show(uinfo->year_spin_button); |
169 |
gtk_widget_show(uinfo->year_spin_button); |