- gtk_signal_connect( GTK_OBJECT(m_widget), "enter",
- GTK_SIGNAL_FUNC(gtk_bmpbutton_enter_callback), (gpointer*)this );
- gtk_signal_connect( GTK_OBJECT(m_widget), "leave",
- GTK_SIGNAL_FUNC(gtk_bmpbutton_leave_callback), (gpointer*)this );
- gtk_signal_connect( GTK_OBJECT(m_widget), "pressed",
- GTK_SIGNAL_FUNC(gtk_bmpbutton_press_callback), (gpointer*)this );
- gtk_signal_connect( GTK_OBJECT(m_widget), "released",
- GTK_SIGNAL_FUNC(gtk_bmpbutton_release_callback), (gpointer*)this );
+ g_signal_connect (m_widget, "enter",
+ G_CALLBACK (gtk_bmpbutton_enter_callback), this);
+ g_signal_connect (m_widget, "leave",
+ G_CALLBACK (gtk_bmpbutton_leave_callback), this);
+ g_signal_connect (m_widget, "pressed",
+ G_CALLBACK (gtk_bmpbutton_press_callback), this);
+ g_signal_connect (m_widget, "released",
+ G_CALLBACK (gtk_bmpbutton_release_callback), this);