summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@fedoraproject.org>2007-04-09 23:59:38 +0000
committerMatthias Clasen <mclasen@fedoraproject.org>2007-04-09 23:59:38 +0000
commit627baaea4042321644416e383a73b6fd07ca28b8 (patch)
tree635bfedc04a4a46f620fecd94882fd3a44c7cda6
parent5059dcf47df780b0c835a99d6664207c7f48ea91 (diff)
downloadgnome-applets-627baaea4042321644416e383a73b6fd07ca28b8.tar.gz
gnome-applets-627baaea4042321644416e383a73b6fd07ca28b8.tar.xz
gnome-applets-627baaea4042321644416e383a73b6fd07ca28b8.zip
fix a leak in the keyboard indicator appletgnome-applets-2_18_0-7_fc7F-7-startF-7-split
-rw-r--r--gnome-applets-2.18.0-node-leak.patch10
-rw-r--r--gnome-applets.spec9
2 files changed, 18 insertions, 1 deletions
diff --git a/gnome-applets-2.18.0-node-leak.patch b/gnome-applets-2.18.0-node-leak.patch
new file mode 100644
index 0000000..b13fd70
--- /dev/null
+++ b/gnome-applets-2.18.0-node-leak.patch
@@ -0,0 +1,10 @@
+--- gnome-applets-2.18.0/gswitchit/gswitchit-applet.c.node-leak 2007-04-10 01:40:23.000000000 +0200
++++ gnome-applets-2.18.0/gswitchit/gswitchit-applet.c 2007-04-10 01:41:27.000000000 +0200
+@@ -502,6 +502,7 @@
+ bonobo_ui_component_add_verb (popup, verb, (BonoboUIVerbFn)
+ GSwitchItAppletCmdSetGroup,
+ sia);
++ bonobo_ui_node_unref (node);
+ xkl_debug (160,
+ "Registered group menu item \'%s\' as \'%s\'\n",
+ verb, *currentName);
diff --git a/gnome-applets.spec b/gnome-applets.spec
index b731fee..aff6f23 100644
--- a/gnome-applets.spec
+++ b/gnome-applets.spec
@@ -33,7 +33,7 @@
Summary: Small applications for the GNOME panel
Name: gnome-applets
Version: 2.18.0
-Release: 6%{?dist}
+Release: 7%{?dist}
Epoch: 1
License: GPL
Group: User Interface/Desktops
@@ -58,6 +58,9 @@ Patch31: gnome-applets-2.18.0-fix-find.patch
# http://bugzilla.gnome.org/show_bug.cgi?id=424989
Patch32: gnome-applets-2.18.0-bug-buddy.patch
+# http://bugzilla.gnome.org/show_bug.cgi?id=428072
+Patch33: gnome-applets-2.18.0-node-leak.patch
+
BuildRequires: glib2-devel >= %{glib2_version}
BuildRequires: gtk2-devel >= %{gtk2_version}
BuildRequires: libgnomeui-devel >= %{libgnomeui_version}
@@ -141,6 +144,7 @@ small utilities for the GNOME panel.
%patch30 -p1 -b .fix-null-applet
%patch31 -p1 -b .fix-find
%patch32 -p1 -b .bug-buddy
+%patch33 -p1 -b .node-leak
cp gswitchit/gswitchit-applet.png gswitchit/gswitchit-properties-capplet.png
@@ -326,6 +330,9 @@ fi
%{_libdir}/pkgconfig/gweather.pc
%changelog
+* Tue Apr 10 2007 Matthias Clasen <mclasen@redhat.com> - 1:2.18.0-7
+- Fix a leak in the keyboard indicator applet
+
* Sat Mar 31 2007 Matthias Clasen <mclasen@redhat.com> - 1:2.18.0-6
- Fix the bug-buddy support of the accessx status applet