Mercurial > geeqie.yaz
comparison src/logwindow.c @ 736:a7289f9e8d29
Fix signed vs unsigned warnings.
In most cases, gint was used instead of guint.
author | zas_ |
---|---|
date | Thu, 22 May 2008 13:00:45 +0000 |
parents | 7119e30971ec |
children | e73d30e0c896 |
comparison
equal
deleted
inserted
replaced
735:df6c11709106 | 736:a7289f9e8d29 |
---|---|
26 GtkWidget *scrolledwin; | 26 GtkWidget *scrolledwin; |
27 GtkWidget *text; | 27 GtkWidget *text; |
28 | 28 |
29 GdkColor colors[LOG_COUNT]; | 29 GdkColor colors[LOG_COUNT]; |
30 | 30 |
31 gint lines; | 31 guint lines; |
32 }; | 32 }; |
33 | 33 |
34 typedef struct _LogDef LogDef; | 34 typedef struct _LogDef LogDef; |
35 struct _LogDef | 35 struct _LogDef |
36 { | 36 { |
206 void log_window_append(const gchar *str, LogType type) | 206 void log_window_append(const gchar *str, LogType type) |
207 { | 207 { |
208 GtkTextView *text; | 208 GtkTextView *text; |
209 GtkTextBuffer *buffer; | 209 GtkTextBuffer *buffer; |
210 GtkTextIter iter; | 210 GtkTextIter iter; |
211 gint line_limit = 1000; //FIXME: option | 211 guint line_limit = 1000; //FIXME: option |
212 static GList *memory = NULL; | 212 static GList *memory = NULL; |
213 | 213 |
214 if (logwindow == NULL) | 214 if (logwindow == NULL) |
215 { | 215 { |
216 if (*str) { | 216 if (*str) { |