Mercurial > pidgin.yaz
comparison src/util.c @ 210:ec0686b3b03f
[gaim-migrate @ 220]
Mostly small changes trying to get -Wall not to give any messages.
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Mon, 01 May 2000 19:39:00 +0000 |
parents | 6e9b375e30e7 |
children | fa67d29b53d5 |
comparison
equal
deleted
inserted
replaced
209:6e9b375e30e7 | 210:ec0686b3b03f |
---|---|
27 #include <sys/types.h> | 27 #include <sys/types.h> |
28 #include <sys/stat.h> | 28 #include <sys/stat.h> |
29 #include <string.h> | 29 #include <string.h> |
30 #include <sys/wait.h> | 30 #include <sys/wait.h> |
31 #include <gtk/gtk.h> | 31 #include <gtk/gtk.h> |
32 #include <ctype.h> | |
32 #include <pixmaps/aimicon.xpm> | 33 #include <pixmaps/aimicon.xpm> |
33 #include "gaim.h" | 34 #include "gaim.h" |
34 | 35 |
35 static GdkPixmap *icon_pm = NULL; | 36 static GdkPixmap *icon_pm = NULL; |
36 static GdkBitmap *icon_bm = NULL; | 37 static GdkBitmap *icon_bm = NULL; |
756 | 757 |
757 void spell_checker(GtkWidget * text) | 758 void spell_checker(GtkWidget * text) |
758 { | 759 { |
759 int start = 0; | 760 int start = 0; |
760 int end = 0; | 761 int end = 0; |
761 int length = gtk_text_get_length(GTK_TEXT(text)); | |
762 static GdkColor * color = NULL; | 762 static GdkColor * color = NULL; |
763 int ignore = 0; | 763 int ignore = 0; |
764 int point = gtk_editable_get_position(GTK_EDITABLE(text)); | 764 int point = gtk_editable_get_position(GTK_EDITABLE(text)); |
765 | 765 |
766 GString * string; | 766 GString * string; |