gedit r6512 - branches/new_plugins/gedit
- From: jessevdk svn gnome org
- To: svn-commits-list gnome org
- Subject: gedit r6512 - branches/new_plugins/gedit
- Date: Sun, 7 Sep 2008 22:41:22 +0000 (UTC)
Author: jessevdk
Date: Sun Sep 7 22:41:22 2008
New Revision: 6512
URL: http://svn.gnome.org/viewvc/gedit?rev=6512&view=rev
Log:
Fixed problem with g_object_unref on NULL
Removed debug message
Modified:
branches/new_plugins/gedit/gedit-commands-messages.c
branches/new_plugins/gedit/gedit-tab.c
Modified: branches/new_plugins/gedit/gedit-commands-messages.c
==============================================================================
--- branches/new_plugins/gedit/gedit-commands-messages.c (original)
+++ branches/new_plugins/gedit/gedit-commands-messages.c Sun Sep 7 22:41:22 2008
@@ -130,7 +130,6 @@
while (*ptr)
{
- g_message ("Adding: %s", *ptr);
uri_list = g_slist_prepend (uri_list, *ptr);
ptr++;
}
Modified: branches/new_plugins/gedit/gedit-tab.c
==============================================================================
--- branches/new_plugins/gedit/gedit-tab.c (original)
+++ branches/new_plugins/gedit/gedit-tab.c Sun Sep 7 22:41:22 2008
@@ -1048,7 +1048,8 @@
break;
}
- g_object_unref (loc);
+ if (loc != NULL)
+ g_object_unref (loc);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]