vinagre r371 - trunk/src
- From: jwendell svn gnome org
- To: svn-commits-list gnome org
- Subject: vinagre r371 - trunk/src
- Date: Wed, 4 Jun 2008 21:19:47 +0000 (UTC)
Author: jwendell
Date: Wed Jun 4 21:19:47 2008
New Revision: 371
URL: http://svn.gnome.org/viewvc/vinagre?rev=371&view=rev
Log:
Free a GtkTreePath with gtk_tree_path_free() instead of g_free(). This fix a crash on startup.
Modified:
trunk/src/vinagre-fav.c
Modified: trunk/src/vinagre-fav.c
==============================================================================
--- trunk/src/vinagre-fav.c (original)
+++ trunk/src/vinagre-fav.c Wed Jun 4 21:19:47 2008
@@ -795,7 +795,7 @@
path = gtk_tree_path_new_from_string ("0");
gtk_tree_view_expand_row (GTK_TREE_VIEW (fav->priv->tree), path, FALSE);
- g_free (path);
+ gtk_tree_path_free (path);
/* avahi */
list = vinagre_mdns_get_all (vinagre_mdns_get_default ());
@@ -840,7 +840,7 @@
path = gtk_tree_path_new_from_string ("1");
gtk_tree_view_expand_row (GTK_TREE_VIEW (fav->priv->tree), path, FALSE);
- g_free (path);
+ gtk_tree_path_free (path);
return FALSE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]