Mercurial > pidgin.yaz
comparison pidgin/gtkutils.c @ 18464:09b964413667
Patch from nix_nix, adds 'get prpl name from account menu' API
author | Sean Egan <seanegan@gmail.com> |
---|---|
date | Mon, 09 Jul 2007 04:24:41 +0000 |
parents | 7f2c22c705a5 |
children | 96740e5fa9dd 3bf2e6cb8e35 d5e2a4897bbc 1e92ac5586d9 |
comparison
equal
deleted
inserted
replaced
18460:b91a29987d71 | 18464:09b964413667 |
---|---|
672 GtkWidget * | 672 GtkWidget * |
673 pidgin_protocol_option_menu_new(const char *id, GCallback cb, | 673 pidgin_protocol_option_menu_new(const char *id, GCallback cb, |
674 gpointer user_data) | 674 gpointer user_data) |
675 { | 675 { |
676 return aop_option_menu_new(create_protocols_menu(id), cb, user_data); | 676 return aop_option_menu_new(create_protocols_menu(id), cb, user_data); |
677 } | |
678 | |
679 const char * | |
680 pidgin_protocol_option_menu_get_selected(GtkWidget *optmenu) | |
681 { | |
682 return (const char *)aop_option_menu_get_selected(optmenu, NULL); | |
677 } | 683 } |
678 | 684 |
679 PurpleAccount * | 685 PurpleAccount * |
680 pidgin_account_option_menu_get_selected(GtkWidget *optmenu) | 686 pidgin_account_option_menu_get_selected(GtkWidget *optmenu) |
681 { | 687 { |