Mercurial > pidgin
diff plugins/raw.c @ 4655:fac4c73dd5ad
[gaim-migrate @ 4966]
cleanups for some plugins that aren't compiled by default
committer: Tailor Script <tailor@pidgin.im>
| author | Nathan Walp <nwalp@pidgin.im> |
|---|---|
| date | Thu, 06 Mar 2003 17:27:17 +0000 |
| parents | 07a3d1fae88f |
| children | fefad67de2c7 |
line wrap: on
line diff
--- a/plugins/raw.c Thu Mar 06 03:09:20 2003 +0000 +++ b/plugins/raw.c Thu Mar 06 17:27:17 2003 +0000 @@ -49,7 +49,7 @@ static void send_it(GtkEntry *entry) { - char *txt; + const char *txt; if (!gc) return; txt = gtk_entry_get_text(entry); switch (gc->protocol) { @@ -108,11 +108,11 @@ continue; if (!gc) gc = c; - g_snprintf(buf, sizeof buf, "%s (%s)", c->username, (*c->prpl->name)()); + g_snprintf(buf, sizeof buf, "%s (%s)", c->username, c->prpl->name); opt = gtk_menu_item_new_with_label(buf); g_signal_connect(GTK_OBJECT(opt), "activate", G_CALLBACK(set_gc), c); gtk_widget_show(opt); - gtk_menu_append(GTK_MENU(menu), opt); + gtk_menu_shell_append(GTK_MENU_SHELL(menu), opt); } gtk_option_menu_remove_menu(GTK_OPTION_MENU(optmenu));
