g_signal_connect(item->widget,
"activate",
- (GCallback)itemActivate,
+ G_CALLBACK(itemActivate),
(gpointer)descr);
g_signal_connect(item->widget,
"button-release-event",
- (GCallback)itemToggleLock,
+ G_CALLBACK(itemToggleLock),
(gpointer)descr);
gtk_menu_shell_prepend(GTK_MENU_SHELL(descr->widget), item->widget);
*/
g_signal_connect(gtk_clipboard_get(GDK_SELECTION_PRIMARY),
"owner-change",
- (GCallback)ClipboardChange,
+ G_CALLBACK(ClipboardChange),
(gpointer)&descr);
gtk_main ();