changeset 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 e40d52cffd51
children 5b1d70deda02
files src/buddy.c src/gaimrc.c src/gtkpounce.c src/pounce.c
diffstat 4 files changed, 6 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/src/buddy.c	Mon Apr 07 01:36:21 2003 +0000
+++ b/src/buddy.c	Mon Apr 07 03:59:02 2003 +0000
@@ -48,6 +48,7 @@
 #include "sound.h"
 #include "gaim.h"
 #include "gtklist.h"
+#include "gtkpounce.h"
 #include "gtkft.h"
 
 #ifdef _WIN32
--- a/src/gaimrc.c	Mon Apr 07 01:36:21 2003 +0000
+++ b/src/gaimrc.c	Mon Apr 07 03:59:02 2003 +0000
@@ -1617,7 +1617,6 @@
 	GList *l;
 	struct pounce_placeholder *ph;
 	struct gaim_pounce *pounce;
-	struct gaim_gtkpounce_data *pounce_data;
 	struct gaim_account *account;
 
 	debug_printf("*** Loading pounces...\n");
--- 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;
--- a/src/pounce.c	Mon Apr 07 01:36:21 2003 +0000
+++ b/src/pounce.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 <string.h>
 #include "gaim.h"
 
 static GList *pounces = NULL;