diff src/ui_utildlg.c @ 1002:3096a47232ec

Use gpointer instead of void *.
author zas_
date Tue, 26 Aug 2008 22:37:18 +0000
parents a1dcef8cd1ae
children 1646720364cf
line wrap: on
line diff
--- a/src/ui_utildlg.c	Tue Aug 26 22:30:40 2008 +0000
+++ b/src/ui_utildlg.c	Tue Aug 26 22:37:18 2008 +0000
@@ -344,7 +344,7 @@
 
 	generic_dialog_setup(GENERIC_DIALOG(fdlg), title,
 			     wmclass, wmsubclass, parent, FALSE,
-			     (void *)cancel_cb, data);
+			     (gpointer)cancel_cb, data);
 
 	return fdlg;
 }
@@ -353,7 +353,7 @@
 				  void (*func_cb)(FileDialog *, gpointer), gint is_default)
 {
 	return generic_dialog_add_button(GENERIC_DIALOG(fdlg), stock_id, text,
-					 (void *)func_cb, is_default);
+					 (gpointer)func_cb, is_default);
 }
 
 static void file_dialog_entry_cb(GtkWidget *widget, gpointer data)