- gtk_signal_connect( GTK_OBJECT(m_widget),
- "button_press_event",
- (GtkSignalFunc)gtk_slider_button_press_callback,
- (gpointer) this );
- gtk_signal_connect( GTK_OBJECT(m_widget),
- "button_release_event",
- (GtkSignalFunc)gtk_slider_button_release_callback,
- (gpointer) this );
+ g_signal_connect (m_widget, "button_press_event",
+ G_CALLBACK (gtk_slider_button_press_callback),
+ this);
+ g_signal_connect (m_widget, "button_release_event",
+ G_CALLBACK (gtk_slider_button_release_callback),
+ this);