diff src/gtkconv.c @ 7386:414c701ef1ff

[gaim-migrate @ 7981] Code cleanup to get rid of all warnings for AMD64 from augustus at linuxhardware dot org committer: Tailor Script <tailor@pidgin.im>
author Luke Schierer <lschiere@pidgin.im>
date Thu, 30 Oct 2003 22:27:36 +0000
parents 00a9ab26d607
children d60e1629ffde
line wrap: on
line diff
--- a/src/gtkconv.c	Thu Oct 30 21:55:29 2003 +0000
+++ b/src/gtkconv.c	Thu Oct 30 22:27:36 2003 +0000
@@ -2988,7 +2988,7 @@
 static char *
 item_factory_translate_func (const char *path, gpointer func_data)
 {
-	return _(path);
+	return _((char *)path);
 }
 
 static GtkWidget *
@@ -5919,7 +5919,7 @@
 
 		gtkconv = GAIM_GTK_CONVERSATION(conv);
 
-		gtk_imhtml_show_comments(GTK_IMHTML(gtkconv->imhtml), (gboolean)value);
+		gtk_imhtml_show_comments(GTK_IMHTML(gtkconv->imhtml), (gboolean)GPOINTER_TO_INT(value));
 	}
 }
 
@@ -5968,7 +5968,7 @@
 
 		gtkconv = GAIM_GTK_CONVERSATION(conv);
 
-		gtk_imhtml_show_smileys(GTK_IMHTML(gtkconv->imhtml), (gboolean)value);
+		gtk_imhtml_show_smileys(GTK_IMHTML(gtkconv->imhtml), (gboolean)GPOINTER_TO_INT(value));
 	}
 }
 
@@ -6016,7 +6016,7 @@
 		win     = gaim_conversation_get_window(conv);
 		gtkwin  = GAIM_GTK_WINDOW(win);
 
-		gtkconv->show_formatting_toolbar = (gboolean)value;
+		gtkconv->show_formatting_toolbar = (gboolean)GPOINTER_TO_INT(value);
 		gtk_check_menu_item_set_active(
 				GTK_CHECK_MENU_ITEM(gtkwin->menu.show_formatting_toolbar),
 				gtkconv->show_formatting_toolbar);