gnome-terminal r2759 - trunk/src
- From: chpe svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-terminal r2759 - trunk/src
- Date: Thu, 29 May 2008 19:51:35 +0000 (UTC)
Author: chpe
Date: Thu May 29 19:51:35 2008
New Revision: 2759
URL: http://svn.gnome.org/viewvc/gnome-terminal?rev=2759&view=rev
Log:
Unref the base profile after cloning.
Modified:
trunk/src/terminal-profile.c
Modified: trunk/src/terminal-profile.c
==============================================================================
--- trunk/src/terminal-profile.c (original)
+++ trunk/src/terminal-profile.c Thu May 29 19:51:35 2008
@@ -1407,10 +1407,10 @@
++n_params;
}
- g_object_unref (base_profile);
-
new_profile = g_object_newv (TERMINAL_TYPE_PROFILE, n_params, params);
+ g_object_unref (base_profile);
+
for (i = 0; i < n_params; ++i)
g_value_unset (¶ms[i].value);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]