gnome-terminal r2516 - trunk/src



Author: chpe
Date: Thu Mar 20 10:16:09 2008
New Revision: 2516
URL: http://svn.gnome.org/viewvc/gnome-terminal?rev=2516&view=rev

Log:
Don't unref the profile, we don't own a reference here. Should fix bug #523481 and bug #523487.


Modified:
   trunk/src/terminal-window.c

Modified: trunk/src/terminal-window.c
==============================================================================
--- trunk/src/terminal-window.c	(original)
+++ trunk/src/terminal-window.c	Thu Mar 20 10:16:09 2008
@@ -465,9 +465,7 @@
 
   if (have_single_profile)
     {
-      g_list_foreach (profiles, (GFunc) g_object_unref, NULL);
       g_list_free (profiles);
-
       return;
     }
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]