aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2009-10-22 00:22:44 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2009-10-22 17:43:49 +0800
commit812da360eeda6ed787ad3e15a740f9936371d5b9 (patch)
treeff9a3834f5fa484ff174a9e94f99bb12727368f7 /libempathy-gtk
parentc5c492f8ec371626affed5b5e940cc7b31245f95 (diff)
downloadgsoc2013-empathy-812da360eeda6ed787ad3e15a740f9936371d5b9.tar
gsoc2013-empathy-812da360eeda6ed787ad3e15a740f9936371d5b9.tar.gz
gsoc2013-empathy-812da360eeda6ed787ad3e15a740f9936371d5b9.tar.bz2
gsoc2013-empathy-812da360eeda6ed787ad3e15a740f9936371d5b9.tar.lz
gsoc2013-empathy-812da360eeda6ed787ad3e15a740f9936371d5b9.tar.xz
gsoc2013-empathy-812da360eeda6ed787ad3e15a740f9936371d5b9.tar.zst
gsoc2013-empathy-812da360eeda6ed787ad3e15a740f9936371d5b9.zip
empathy-chat-text-view.c: fix shadow declarations and uint comparaisons
Diffstat (limited to 'libempathy-gtk')
-rw-r--r--libempathy-gtk/empathy-chat-text-view.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/libempathy-gtk/empathy-chat-text-view.c b/libempathy-gtk/empathy-chat-text-view.c
index 894f9b84c..5822a429d 100644
--- a/libempathy-gtk/empathy-chat-text-view.c
+++ b/libempathy-gtk/empathy-chat-text-view.c
@@ -359,7 +359,7 @@ chat_text_view_maybe_trim_buffer (EmpathyChatTextView *view)
EmpathyChatTextViewPriv *priv;
GtkTextIter top, bottom;
gint line;
- gint remove;
+ gint remove_;
GtkTextTagTable *table;
GtkTextTag *tag;
@@ -371,11 +371,11 @@ chat_text_view_maybe_trim_buffer (EmpathyChatTextView *view)
return;
}
- remove = line - MAX_LINES;
+ remove_ = line - MAX_LINES;
gtk_text_buffer_get_start_iter (priv->buffer, &top);
bottom = top;
- if (!gtk_text_iter_forward_lines (&bottom, remove)) {
+ if (!gtk_text_iter_forward_lines (&bottom, remove_)) {
return;
}
@@ -506,7 +506,7 @@ chat_text_view_drag_motion (GtkWidget *widget,
GdkDragContext *context,
gint x,
gint y,
- guint time)
+ guint time_)
{
/* Don't handle drag motion, since we don't want the view to scroll as
* the result of dragging something across it. */
@@ -1342,7 +1342,7 @@ empathy_chat_text_view_append_body (EmpathyChatTextView *view,
g_match_info_free (match_info);
g_regex_unref (uri_regex);
- if (last < strlen (body)) {
+ if (last < (gint) strlen (body)) {
gtk_text_buffer_get_end_iter (priv->buffer, &iter);
chat_text_view_insert_text_with_emoticons (view,
&iter,