Mercurial > pidgin.yaz
diff src/gtkpounce.c @ 5054:abc8489b2e8f
[gaim-migrate @ 5404]
compile cleanups
committer: Tailor Script <tailor@pidgin.im>
author | Nathan Walp <nwalp@pidgin.im> |
---|---|
date | Mon, 07 Apr 2003 03:59:02 +0000 |
parents | 6a7759f63766 |
children | ab0f12de3718 |
line wrap: on
line diff
--- a/src/gtkpounce.c Mon Apr 07 01:36:21 2003 +0000 +++ b/src/gtkpounce.c Mon Apr 07 03:59:02 2003 +0000 @@ -20,6 +20,7 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * */ +#include <unistd.h> #include "gaim.h" #include "gtkpounce.h" #include "gtklist.h" @@ -203,7 +204,7 @@ save_prefs(); } -static GtkWidget * +static void pounce_choose_cb(GtkWidget *item, struct gaim_gtkpounce_dialog *dialog) { dialog->account = g_object_get_data(G_OBJECT(item), "user_data"); @@ -219,7 +220,7 @@ GtkWidget *item; GSList *l; char buf[2048]; - int count, place; + int count, place = 0; opt_menu = gtk_option_menu_new(); menu = gtk_menu_new(); @@ -398,7 +399,6 @@ GtkWidget *button; GtkWidget *frame; GtkWidget *table; - GtkWidget *optmenu; GtkWidget *sep; GtkSizeGroup *sg; @@ -720,7 +720,7 @@ void gaim_gtkpounce_menu_build(GtkWidget *menu) { - GtkWidget *remmenu, *submenu, *item; + GtkWidget *remmenu, *item; GList *l; GList *bp; struct gaim_pounce *pounce;