Fixed compiler warning by using proper cast.

2006-10-12  Kevin Cozens  <kcozens@cvs.gnome.org>

	* plug-ins/imagemap/imap_main.c (do_data_changed_dialog): Fixed
	compiler warning by using proper cast.
This commit is contained in:
Kevin Cozens 2006-10-12 21:57:53 +00:00 committed by Kevin Cozens
parent 1bb7bbb3bb
commit 202733c95a
2 changed files with 9 additions and 4 deletions

View File

@ -1,3 +1,8 @@
2006-10-12 Kevin Cozens <kcozens@cvs.gnome.org>
* plug-ins/imagemap/imap_main.c (do_data_changed_dialog): Fixed
compiler warning by using proper cast.
2006-10-12 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* app/paint-funcs/scale-funcs.c: apply modified patch

View File

@ -659,7 +659,7 @@ do_data_changed_dialog(void (*continue_cb)(gpointer), gpointer param)
GTK_BUTTONS_YES_NO,
_("Some data has been changed!"));
gtk_message_dialog_format_secondary_text
(GTK_DIALOG (dialog),
(GTK_MESSAGE_DIALOG (dialog),
_("Do you really want to discard your changes?"));
if (gtk_dialog_run (GTK_DIALOG (dialog)) == GTK_RESPONSE_YES)