aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@src.gnome.org>2008-03-11 17:27:40 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2008-03-11 17:27:40 +0800
commit1e499ec9de74a9adc455f65d028152d9a9ac918f (patch)
treed79aede7bfc89eb0ebe17060a4632f6352d29616
parent5fa8f84ba049f83fc96ff6cdc1460e164e654242 (diff)
downloadgsoc2013-empathy-1e499ec9de74a9adc455f65d028152d9a9ac918f.tar
gsoc2013-empathy-1e499ec9de74a9adc455f65d028152d9a9ac918f.tar.gz
gsoc2013-empathy-1e499ec9de74a9adc455f65d028152d9a9ac918f.tar.bz2
gsoc2013-empathy-1e499ec9de74a9adc455f65d028152d9a9ac918f.tar.lz
gsoc2013-empathy-1e499ec9de74a9adc455f65d028152d9a9ac918f.tar.xz
gsoc2013-empathy-1e499ec9de74a9adc455f65d028152d9a9ac918f.tar.zst
gsoc2013-empathy-1e499ec9de74a9adc455f65d028152d9a9ac918f.zip
Fix compilation and usage of GError
svn path=/trunk/; revision=741
-rw-r--r--libempathy-gtk/empathy-ui-utils.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libempathy-gtk/empathy-ui-utils.c b/libempathy-gtk/empathy-ui-utils.c
index 4389da9af..1b7a5ce2c 100644
--- a/libempathy-gtk/empathy-ui-utils.c
+++ b/libempathy-gtk/empathy-ui-utils.c
@@ -1317,7 +1317,7 @@ empathy_url_show (const char *url)
{
gchar *real_url;
gboolean res;
- GError *error;
+ GError *error = NULL;
real_url = fixup_url (url);
if (real_url) {
@@ -1330,7 +1330,7 @@ empathy_url_show (const char *url)
if (!res) {
empathy_debug (DEBUG_DOMAIN, "Couldn't show URL %s: %s",
url, error->message);
- g_clear_error (error);
+ g_clear_error (&error);
}
g_free (real_url);