comparison src/dialogs.c @ 7108:6faeeecab0dc

[gaim-migrate @ 7673] Put the rest of util.[ch] into namespaces and sectioned off the functions. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Wed, 01 Oct 2003 07:15:53 +0000
parents 9220c7490cd1
children bf630f7dfdcd
comparison
equal deleted inserted replaced
7107:9220c7490cd1 7108:6faeeecab0dc
876 #endif 876 #endif
877 gtk_widget_set_size_request(b->text, 300, 200); 877 gtk_widget_set_size_request(b->text, 300, 200);
878 878
879 if ((user_info = gaim_account_get_user_info(account)) != NULL) { 879 if ((user_info = gaim_account_get_user_info(account)) != NULL) {
880 buf = g_malloc(strlen(user_info) + 1); 880 buf = g_malloc(strlen(user_info) + 1);
881 strncpy_nohtml(buf, user_info, strlen(user_info) + 1); 881 gaim_strncpy_nohtml(buf, user_info, strlen(user_info) + 1);
882 buffer = gtk_text_view_get_buffer(GTK_TEXT_VIEW(b->text)); 882 buffer = gtk_text_view_get_buffer(GTK_TEXT_VIEW(b->text));
883 gtk_text_buffer_set_text(buffer, buf, -1); 883 gtk_text_buffer_set_text(buffer, buf, -1);
884 g_free(buf); 884 g_free(buf);
885 } 885 }
886 886