From e7e016ad7dd2fbceb6699be2ca7640f750a55d8b Mon Sep 17 00:00:00 2001 From: teodor Date: Tue, 26 Dec 2006 20:21:46 +0000 Subject: [PATCH] use G_CALLBACK macros --- hclip.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hclip.c b/hclip.c index c4cdaaa..1f591b7 100644 --- a/hclip.c +++ b/hclip.c @@ -299,12 +299,12 @@ newClipboardMenuItem(ClipboardDescr *descr) 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); @@ -492,7 +492,7 @@ main( int argc, char *argv[] ) { */ g_signal_connect(gtk_clipboard_get(GDK_SELECTION_PRIMARY), "owner-change", - (GCallback)ClipboardChange, + G_CALLBACK(ClipboardChange), (gpointer)&descr); gtk_main (); -- 2.46.1