comparison src/multi.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 66b1ad9782a9
children d33ec392a5e1
comparison
equal deleted inserted replaced
3465:ec437d73b2ee 3466:7a3f16a375a5
427 } 427 }
428 428
429 static void set_icon(GtkWidget *w, struct mod_user *u) 429 static void set_icon(GtkWidget *w, struct mod_user *u)
430 { 430 {
431 GtkWidget *sel = u->icondlg; 431 GtkWidget *sel = u->icondlg;
432 char *file = gtk_file_selection_get_filename(GTK_FILE_SELECTION(sel)); 432 const char *file = gtk_file_selection_get_filename(GTK_FILE_SELECTION(sel));
433 433
434 if (file_is_dir(file, sel)) 434 if (file_is_dir(file, sel))
435 return; 435 return;
436 436
437 gtk_entry_set_text(GTK_ENTRY(u->iconentry), file); 437 gtk_entry_set_text(GTK_ENTRY(u->iconentry), file);