empathy r741 - trunk/libempathy-gtk
- From: xclaesse svn gnome org
- To: svn-commits-list gnome org
- Subject: empathy r741 - trunk/libempathy-gtk
- Date: Tue, 11 Mar 2008 09:27:40 +0000 (GMT)
Author: xclaesse
Date: Tue Mar 11 09:27:40 2008
New Revision: 741
URL: http://svn.gnome.org/viewvc/empathy?rev=741&view=rev
Log:
Fix compilation and usage of GError
Modified:
trunk/libempathy-gtk/empathy-ui-utils.c
Modified: trunk/libempathy-gtk/empathy-ui-utils.c
==============================================================================
--- trunk/libempathy-gtk/empathy-ui-utils.c (original)
+++ trunk/libempathy-gtk/empathy-ui-utils.c Tue Mar 11 09:27:40 2008
@@ -1317,7 +1317,7 @@
{
gchar *real_url;
gboolean res;
- GError *error;
+ GError *error = NULL;
real_url = fixup_url (url);
if (real_url) {
@@ -1330,7 +1330,7 @@
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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]