empathy r1905 - trunk/src
- From: xclaesse svn gnome org
- To: svn-commits-list gnome org
- Subject: empathy r1905 - trunk/src
- Date: Fri, 21 Nov 2008 16:24:40 +0000 (UTC)
Author: xclaesse
Date: Fri Nov 21 16:24:40 2008
New Revision: 1905
URL: http://svn.gnome.org/viewvc/empathy?rev=1905&view=rev
Log:
Check if URI is not NULL before adding it to the recent manager.
Modified:
trunk/src/empathy-ft-manager.c
Modified: trunk/src/empathy-ft-manager.c
==============================================================================
--- trunk/src/empathy-ft-manager.c (original)
+++ trunk/src/empathy-ft-manager.c Fri Nov 21 16:24:40 2008
@@ -525,7 +525,8 @@
manager = gtk_recent_manager_get_default ();
uri = g_object_get_data (G_OBJECT (tp_file), "uri");
- gtk_recent_manager_add_item (manager, uri);
+ if (uri != NULL)
+ gtk_recent_manager_add_item (manager, uri);
}
ft_manager_update_ft_row (ft_manager, tp_file);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]