- gtk_signal_connect( GTK_OBJECT (m_adjust),
- "value_changed",
- GTK_SIGNAL_FUNC(gtk_spinctrl_callback),
- (gpointer) this );
-
- gtk_signal_connect( GTK_OBJECT(m_widget),
- "changed",
- GTK_SIGNAL_FUNC(gtk_spinctrl_text_changed_callback),
- (gpointer)this);
+ g_signal_connect (m_adjust, "value_changed",
+ G_CALLBACK (gtk_spinctrl_callback),
+ this);
+ g_signal_connect (m_widget, "changed",
+ G_CALLBACK (gtk_spinctrl_text_changed_callback),
+ this);