aboutsummaryrefslogtreecommitdiffstats
path: root/src/empathy-debug-window.c
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2009-10-20 22:52:22 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2009-10-20 23:01:06 +0800
commitbe4654da13c2c957c72637678ad3a9f07a4b4e9d (patch)
treeab5d186425dfeacc0c1a9ed5ef27a44b03d70989 /src/empathy-debug-window.c
parent9f0ae2a124ecb68b8a553783002a2b01c02d5fb4 (diff)
downloadgsoc2013-empathy-be4654da13c2c957c72637678ad3a9f07a4b4e9d.tar
gsoc2013-empathy-be4654da13c2c957c72637678ad3a9f07a4b4e9d.tar.gz
gsoc2013-empathy-be4654da13c2c957c72637678ad3a9f07a4b4e9d.tar.bz2
gsoc2013-empathy-be4654da13c2c957c72637678ad3a9f07a4b4e9d.tar.lz
gsoc2013-empathy-be4654da13c2c957c72637678ad3a9f07a4b4e9d.tar.xz
gsoc2013-empathy-be4654da13c2c957c72637678ad3a9f07a4b4e9d.tar.zst
gsoc2013-empathy-be4654da13c2c957c72637678ad3a9f07a4b4e9d.zip
src/empathy-debug-window: fix shadow declarations and uint comparaisons
Diffstat (limited to 'src/empathy-debug-window.c')
-rw-r--r--src/empathy-debug-window.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/empathy-debug-window.c b/src/empathy-debug-window.c
index 373da3320..b0bce622f 100644
--- a/src/empathy-debug-window.c
+++ b/src/empathy-debug-window.c
@@ -329,7 +329,7 @@ debug_window_get_messages_cb (TpProxy *proxy,
GtkTreeIter iter;
gchar *name;
GList *old_messages;
- gint i;
+ guint i;
if (error != NULL)
{
@@ -648,11 +648,11 @@ debug_window_name_owner_changed_cb (TpDBusDaemon *proxy,
* just joined), we don't need to check whether the unique
* name is in the CM model. Hooray.
*/
- GtkTreeIter iter;
const gchar *name = arg0 + strlen (CM_WELL_KNOWN_NAME_PREFIX);
if (!g_hash_table_lookup (priv->all_cms, name))
{
+ GtkTreeIter iter;
DEBUG ("Adding new CM '%s' at %s.", name, arg2);
gtk_list_store_append (priv->cms, &iter);