rpms/imsettings/devel imsettings-unref-notify.patch, NONE, 1.1 imsettings.spec, 1.37, 1.38

Akira TAGOH tagoh at fedoraproject.org
Tue Sep 8 04:13:33 UTC 2009


Author: tagoh

Update of /cvs/pkgs/rpms/imsettings/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv11166

Modified Files:
	imsettings.spec 
Added Files:
	imsettings-unref-notify.patch 
Log Message:
* Tue Sep  8 2009 Akira TAGOH <tagoh at redhat.com> - 0.107.3-2
- Fix aborting after dbus session closed. (#520976)

imsettings-unref-notify.patch:
 factory.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- NEW FILE imsettings-unref-notify.patch ---
2009-09-08  Akira TAGOH  <akira at tagoh.org>

	* src/factory.c (imsettings_manager_real_finalize): unreference the object.

Index: src/factory.c
===================================================================
--- src/factory.c	(リビジョン 329)
+++ src/factory.c	(リビジョン 330)
@@ -844,7 +844,7 @@
 	if (priv->body2info)
 		g_hash_table_destroy(priv->body2info);
 	if (priv->notify)
-		notify_notification_close(priv->notify, NULL);
+		g_object_unref(priv->notify);
 
 	if (G_OBJECT_CLASS (imsettings_manager_parent_class)->finalize)
 		G_OBJECT_CLASS (imsettings_manager_parent_class)->finalize(object);


Index: imsettings.spec
===================================================================
RCS file: /cvs/pkgs/rpms/imsettings/devel/imsettings.spec,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -p -r1.37 -r1.38
--- imsettings.spec	1 Sep 2009 13:39:10 -0000	1.37
+++ imsettings.spec	8 Sep 2009 04:13:33 -0000	1.38
@@ -1,6 +1,6 @@
 Name:		imsettings
 Version:	0.107.3
-Release:	1%{?dist}
+Release:	2%{?dist}
 License:	LGPLv2+
 URL:		http://code.google.com/p/imsettings/
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -18,6 +18,7 @@ Source0:	http://imsettings.googlecode.co
 Source1: 	imsettings-kde.sh
 Patch0:		imsettings-constraint-of-language.patch
 Patch1:		imsettings-disable-xim.patch
+Patch2:		imsettings-unref-notify.patch
 
 Summary:	Delivery framework for general Input Method configuration
 Group:		Applications/System
@@ -86,6 +87,7 @@ This package contains a plugin to get th
 %setup -q
 %patch0 -p1 -b .0-lang
 %patch1 -p1 -b .1-xim
+%patch2 -p1 -b .2-unref
 
 %build
 %configure	\
@@ -211,6 +213,9 @@ fi
 
 
 %changelog
+* Tue Sep  8 2009 Akira TAGOH <tagoh at redhat.com> - 0.107.3-2
+- Fix aborting after dbus session closed. (#520976)
+
 * Tue Sep  1 2009 Akira TAGOH <tagoh at redhat.com> - 0.107.3-1
 - New upstream release.
   - Fix taking CPU load after switching IM.




More information about the scm-commits mailing list