diff src/plugins.c @ 3466:7a3f16a375a5

[gaim-migrate @ 3516] some patches from some people. committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Thu, 29 Aug 2002 01:47:15 +0000
parents 3cd2fbddf95a
children d33ec392a5e1
line wrap: on
line diff
--- a/src/plugins.c	Thu Aug 29 01:43:23 2002 +0000
+++ b/src/plugins.c	Thu Aug 29 01:47:15 2002 +0000
@@ -144,7 +144,7 @@
 
 static void load_which_plugin(GtkWidget *w, gpointer data)
 {
-	char *file;
+	const char *file;
 	struct gaim_plugin *p;
 	
 	file = (char *)gtk_file_selection_get_filename(GTK_FILE_SELECTION(plugin_dialog));
@@ -539,8 +539,8 @@
 static const gchar *plugin_makelistname(GModule *module)
 {
 	static gchar filename[PATHSIZE];
-	gchar *filepath = (char *)g_module_name(module);
-	char *cp;
+	const gchar *filepath = (char *)g_module_name(module);
+	const char *cp;
 
 	if (filepath == NULL || strlen(filepath) == 0)
 		return NULL;