- gtk_signal_connect( GTK_OBJECT(m_adjust),
- "value_changed",
- (GtkSignalFunc) gtk_scrollbar_callback,
- (gpointer) this );
- gtk_signal_connect( GTK_OBJECT(m_widget),
- "button_press_event",
- (GtkSignalFunc)gtk_scrollbar_button_press_callback,
- (gpointer) this );
- gtk_signal_connect( GTK_OBJECT(m_widget),
- "button_release_event",
- (GtkSignalFunc)gtk_scrollbar_button_release_callback,
- (gpointer) this );
+ g_signal_connect (m_adjust, "value_changed",
+ G_CALLBACK (gtk_scrollbar_callback), this);
+ g_signal_connect (m_widget, "button_press_event",
+ G_CALLBACK (gtk_scrollbar_button_press_callback),
+ this);
+ g_signal_connect (m_widget, "button_release_event",
+ G_CALLBACK (gtk_scrollbar_button_release_callback),
+ this);