-
- gtk_signal_disconnect_by_func( GTK_OBJECT (win->m_adjust),
- (GtkSignalFunc) gtk_spinbutt_callback,
- (gpointer) win );
-
- gtk_signal_emit_by_name( GTK_OBJECT(win->m_adjust), "value_changed" );
-
- gtk_signal_connect( GTK_OBJECT (win->m_adjust),
- "value_changed",
- (GtkSignalFunc) gtk_spinbutt_callback,
- (gpointer) win );
+
+ g_signal_handlers_disconnect_by_func (win->m_adjust,
+ (gpointer) gtk_spinbutt_callback,
+ win);
+
+ g_signal_emit_by_name (win->m_adjust, "value_changed");
+
+ g_signal_connect (win->m_adjust, "value_changed",
+ G_CALLBACK (gtk_spinbutt_callback), win);