rpms/galculator/FC-4 galculator-1.2.5-gobject-unref.patch, NONE, 1.1 galculator.spec, 1.6, 1.7

Tomas Mraz (tmraz) fedora-extras-commits at redhat.com
Wed Feb 15 09:30:07 UTC 2006


Author: tmraz

Update of /cvs/extras/rpms/galculator/FC-4
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv25085

Modified Files:
	galculator.spec 
Added Files:
	galculator-1.2.5-gobject-unref.patch 
Log Message:
* Wed Feb 15 2006 Tomas Mraz <tmraz at redhat.com> - 1.2.5-4
- rebuilt for gcc changes


galculator-1.2.5-gobject-unref.patch:

--- NEW FILE galculator-1.2.5-gobject-unref.patch ---
--- galculator-1.2.5/src/ui.c.unref	2004-10-17 17:23:37.000000000 +0200
+++ galculator-1.2.5/src/ui.c	2006-02-08 12:39:32.000000000 +0100
@@ -313,7 +313,8 @@
 	if (dispctrl_xml) {
 		table_dispctrl = glade_xml_get_widget (dispctrl_xml, "table_dispctrl");
 		if (table_dispctrl) gtk_widget_destroy (table_dispctrl); 
-		g_free (dispctrl_xml);
+		g_object_unref (G_OBJECT (dispctrl_xml));
+		dispctrl_xml = NULL;
 	}	
 	/* now create the new one at location */
 	switch(location) {


Index: galculator.spec
===================================================================
RCS file: /cvs/extras/rpms/galculator/FC-4/galculator.spec,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- galculator.spec	25 Jul 2005 18:54:37 -0000	1.6
+++ galculator.spec	15 Feb 2006 09:30:06 -0000	1.7
@@ -1,12 +1,14 @@
 Name:           galculator
 Version:        1.2.5
-Release:        1%{?dist}
+Release:        4%{?dist}
 Summary:        GTK 2 based scientific calculator
 
 Group:          Applications/Engineering
 License:        GPL
 URL:            http://galculator.sourceforge.net/
 Source0:        http://download.sf.net/sourceforge/galculator/galculator-%{version}.tar.bz2
+Patch1:         galculator-1.2.5-gobject-unref.patch
+
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:  desktop-file-utils
@@ -22,7 +24,7 @@
 
 %prep
 %setup -q
-
+%patch1 -p1 -b .unref
 
 %build
 %configure
@@ -54,6 +56,15 @@
 
 
 %changelog
+* Wed Feb 15 2006 Tomas Mraz <tmraz at redhat.com> - 1.2.5-4
+- rebuilt for gcc changes
+
+* Wed Feb  8 2006 Tomas Mraz <tmraz at redhat.com> - 1.2.5-3
+- GladeXML is GObject and cannot be g_free-d (#178227)
+
+* Thu Aug 18 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 1.2.5-2
+- rebuilt
+
 * Mon Jul 25 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 1.2.5-1
 - Update to 1.2.5 (also fixes #162018).
 




More information about the fedora-extras-commits mailing list