ayttm-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Ayttm-commits] CVS: ayttm/src chat_room.c,1.16,1.17 chat_window.c,1.17


From: Andy Maloney <address@hidden>
Subject: [Ayttm-commits] CVS: ayttm/src chat_room.c,1.16,1.17 chat_window.c,1.17,1.18 contact_actions.c,1.3,1.4 gtk_eb_html.c,1.3,1.4 info_window.c,1.4,1.5 input_list.c,1.3,1.4 plugin.c,1.2,1.3 prefs.c,1.12,1.13 smileys.c,1.6,1.7 sound.c,1.5,1.6 util.c,1.6,1.7
Date: Sat, 11 Jan 2003 09:52:19 -0500

Update of /cvsroot/ayttm/ayttm/src
In directory subversions:/tmp/cvs-serv6797/src

Modified Files:
        chat_room.c chat_window.c contact_actions.c gtk_eb_html.c 
        info_window.c input_list.c plugin.c prefs.c smileys.c sound.c 
        util.c 
Log Message:
Fixes for -Wall

Index: chat_room.c
===================================================================
RCS file: /cvsroot/ayttm/ayttm/src/chat_room.c,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- chat_room.c 10 Jan 2003 23:43:56 -0000      1.16
+++ chat_room.c 11 Jan 2003 14:52:16 -0000      1.17
@@ -22,6 +22,7 @@
 #endif
 
 #include <string.h>
+#include <stdlib.h>
 #include <gdk/gdkkeysyms.h>
 
 #include "globals.h"
@@ -32,6 +33,9 @@
 #include "dialog.h"
 #include "smileys.h"
 #include "prefs.h"
+#ifdef HAVE_ISPELL
+#include "gtkspell.h"
+#endif
 
 #include "pixmaps/tb_mail_send.xpm"
 #include "pixmaps/cancel.xpm"

Index: chat_window.c
===================================================================
RCS file: /cvsroot/ayttm/ayttm/src/chat_window.c,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- chat_window.c       10 Jan 2003 23:43:56 -0000      1.17
+++ chat_window.c       11 Jan 2003 14:52:16 -0000      1.18
@@ -39,7 +39,6 @@
 
 #include "chat_window.h"
 #include "util.h"
-#include "gtkspell.h"
 #include "add_contact_window.h"
 #include "sound.h"
 #include "dialog.h"
@@ -52,6 +51,9 @@
 #include "contact_actions.h"
 #include "smileys.h"
 #include "prefs.h"
+#ifdef HAVE_ISPELL
+#include "gtkspell.h"
+#endif
 
 #include "pixmaps/tb_book_red.xpm"
 #include "pixmaps/tb_open.xpm"

Index: contact_actions.c
===================================================================
RCS file: /cvsroot/ayttm/ayttm/src/contact_actions.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- contact_actions.c   8 Jan 2003 01:55:19 -0000       1.3
+++ contact_actions.c   11 Jan 2003 14:52:16 -0000      1.4
@@ -29,6 +29,7 @@
 #include "intl.h"
 #include "message_parse.h"
 #include "log_window.h"
+#include "file_select.h"
 
 
 static void send_file_callback(char *selected_filename, gpointer data)

Index: gtk_eb_html.c
===================================================================
RCS file: /cvsroot/ayttm/ayttm/src/gtk_eb_html.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- gtk_eb_html.c       10 Jan 2003 23:43:56 -0000      1.3
+++ gtk_eb_html.c       11 Jan 2003 14:52:16 -0000      1.4
@@ -24,7 +24,9 @@
 #endif
 
 #include "intl.h"
+#include <stdlib.h>
 #include <string.h>
+#include <ctype.h>
 
 #ifdef HAVE_LIBXFT
 #include <gdk/gdkprivate.h>
@@ -34,6 +36,8 @@
 #include "extgtktext.h"
 #include "globals.h"
 #include "smileys.h"
+#include "prefs.h"
+#include "browser.h"
 
 #include "pixmaps/aol_icon.xpm"
 #include "pixmaps/free_icon.xpm"

Index: info_window.c
===================================================================
RCS file: /cvsroot/ayttm/ayttm/src/info_window.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- info_window.c       8 Jan 2003 01:55:19 -0000       1.4
+++ info_window.c       11 Jan 2003 14:52:16 -0000      1.5
@@ -34,6 +34,7 @@
 
 #include "gtk_eb_html.h"
 #include "info_window.h"
+#include "dialog.h"
 
 #include "pixmaps/cancel.xpm"
 

Index: input_list.c
===================================================================
RCS file: /cvsroot/ayttm/ayttm/src/input_list.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- input_list.c        8 Jan 2003 01:55:19 -0000       1.3
+++ input_list.c        11 Jan 2003 14:52:16 -0000      1.4
@@ -21,10 +21,12 @@
 
 #include "intl.h"
 #include <string.h>
+#include <stdlib.h>
 
 #include "globals.h"
 #include "input_list.h"
 #include "value_pair.h"
+#include "dialog.h"
 
 
 void eb_input_render(input_list * il, GtkWidget * box)

Index: plugin.c
===================================================================
RCS file: /cvsroot/ayttm/ayttm/src/plugin.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- plugin.c    1 Jan 2003 14:22:45 -0000       1.2
+++ plugin.c    11 Jan 2003 14:52:16 -0000      1.3
@@ -31,12 +31,15 @@
 #include <dirent.h> /* Routines to read directories to find modules */
 #include <string.h>
 #include <stdlib.h>
+
 #include "globals.h"
 #include "defaults.h"
 #include "service.h"
 #include "plugin.h"
 #include "nomodule.h"
 #include "value_pair.h"
+#include "dialog.h"
+
 
 char *PLUGIN_TYPE_TXT[]={"SERVICE", "UTILITY", "SOUND", "LOG", "GUI", 
"UNKNOWN"};
 char *PLUGIN_STATUS_TXT[]={"Not Loaded", 

Index: prefs.c
===================================================================
RCS file: /cvsroot/ayttm/ayttm/src/prefs.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- prefs.c     10 Jan 2003 23:43:56 -0000      1.12
+++ prefs.c     11 Jan 2003 14:52:16 -0000      1.13
@@ -249,7 +249,6 @@
 #ifdef HAVE_ISPELL
 static gint    do_spell_checking = 0;
 static gint    do_spell_checking_old = 0;
-static char    *spell_dictionary = "";
 #endif
 
 static gint    do_noautoresize = 0;
@@ -594,10 +593,12 @@
      iSetLocalPref("do_tabbed_chat_orient",do_tabbed_chat_orient);
 }
 
+/* Not necessary */
+/*
 static void destroy_layout_prefs (void)
 {
 }
-
+*/
 
 /*
  * Chat Preferences Tab
@@ -2084,7 +2085,6 @@
      return widget;
 }
 
-static GtkWidget *soundfileselector;
 
 static void getsoundfile (GtkWidget * sendf_button, gpointer userdata)
 {
@@ -2149,8 +2149,6 @@
 static void setsoundfilename(char * selected_filename, gpointer data)
 //static void setsoundfilename(GtkWidget * fileselector, int userdata)
 {
-//     gchar *selected_filename = gtk_file_selection_get_filename 
(GTK_FILE_SELECTION(soundfileselector));
-
        int userdata = (int)data;
 
        if(!selected_filename)
@@ -2187,7 +2185,6 @@
          gtk_entry_set_text (GTK_ENTRY (firstmsgsoundentry), 
                              selected_filename);
          break;
-
      }
 }
 

Index: smileys.c
===================================================================
RCS file: /cvsroot/ayttm/ayttm/src/smileys.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- smileys.c   10 Jan 2003 23:43:56 -0000      1.6
+++ smileys.c   11 Jan 2003 14:52:16 -0000      1.7
@@ -22,6 +22,11 @@
 #include <string.h>
 #include <glib.h>
 
+#include "globals.h"
+#include "service.h"
+#include "smileys.h"
+#include "prefs.h"
+
 #include "pixmaps/smile.xpm"
 #include "pixmaps/sad.xpm"
 #include "pixmaps/wink.xpm"
@@ -76,10 +81,6 @@
 #include "pixmaps/msn/rainbow.xpm"
 #include "pixmaps/msn/moon.xpm"
 #include "pixmaps/msn/devil.xpm"
-
-#include "globals.h"
-#include "service.h"
-#include "smileys.h"
 
 static char *no_smileys[] = {
        "http://";,

Index: sound.c
===================================================================
RCS file: /cvsroot/ayttm/ayttm/src/sound.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- sound.c     10 Jan 2003 12:37:46 -0000      1.5
+++ sound.c     11 Jan 2003 14:52:16 -0000      1.6
@@ -47,6 +47,7 @@
 #include "util.h"
 #include "sound.h"
 #include "prefs.h"
+#include "dialog.h"
 
 #ifdef ESD_SOUND
 #include <esd.h>

Index: util.c
===================================================================
RCS file: /cvsroot/ayttm/ayttm/src/util.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- util.c      9 Jan 2003 09:20:22 -0000       1.6
+++ util.c      11 Jan 2003 14:52:16 -0000      1.7
@@ -29,10 +29,13 @@
 #  include <config.h>
 #endif
 
-#include "intl.h"
 #include <string.h>
 #include <errno.h>
 #include <stdlib.h>
+#include <ctype.h>
+#include <sys/stat.h>
+#include <assert.h>
+
 #ifdef __MINGW32__
 #include <winsock2.h>
 #else
@@ -42,15 +45,16 @@
 #include <arpa/inet.h>
 #include <netdb.h>
 #endif
-#include <ctype.h>
-#include <sys/stat.h>
-#include <assert.h>
+
+#include "intl.h"
 #include "util.h"
 #include "status.h"
 #include "globals.h"
 #include "chat_window.h"
 #include "value_pair.h"
 #include "plugin.h"
+#include "dialog.h"
+
 
 #ifndef NAME_MAX
 #define NAME_MAX 4096





reply via email to

[Prev in Thread] Current Thread [Next in Thread]