Hello community,

here is the log from the commit of package gtk3 for openSUSE:Factory
checked in at Thu Jul 21 15:57:01 CEST 2011.



--------
--- GNOME/gtk3/gtk3.changes     2011-07-07 11:08:30.000000000 +0200
+++ /mounts/work_src_done/STABLE/gtk3/gtk3.changes      2011-07-21 
13:12:17.000000000 +0200
@@ -1,0 +2,6 @@
+Thu Jul 21 13:10:03 CEST 2011 - [email protected]
+
+- Add gtk3-fix-crash-recent-glib.patch: this fixes a crash in all
+  apps with glib 2.29.12. Taken from git.
+
+-------------------------------------------------------------------

calling whatdependson for head-i586


New:
----
  gtk3-fix-crash-recent-glib.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ gtk3.spec ++++++
--- /var/tmp/diff_new_pack.jRmrIV/_old  2011-07-21 15:56:38.000000000 +0200
+++ /var/tmp/diff_new_pack.jRmrIV/_new  2011-07-21 15:56:38.000000000 +0200
@@ -25,7 +25,7 @@
 Name:           gtk3
 %define _name gtk+
 Version:        3.1.8
-Release:        1
+Release:        3
 License:        LGPLv2.1+
 Summary:        The GTK+ toolkit library (version 3)
 Url:            http://www.gtk.org/
@@ -43,6 +43,8 @@
 Patch2:         gtk3-bnc129753-localize-font-style-name.patch
 # PATCH-FIX-UPSTREAM gtk3-bnc130159-bgo319483-async-font-selection.patch 
bnc130159 bgo319483 [email protected] - Load fonts asynchronously in 
GtkFontSelection to make it appear faster for CJK languages
 Patch3:         gtk3-bnc130159-bgo319483-async-font-selection.patch
+# PATCH-FIX-UPSTREAM gtk3-fix-crash-recent-glib.patch [email protected] -- 
Fix crash with glib 2.29.12, taken from git
+Patch4:         gtk3-fix-crash-recent-glib.patch
 BuildRequires:  fdupes
 BuildRequires:  cups-devel
 BuildRequires:  gnome-patch-translation
@@ -289,6 +291,7 @@
 %patch1 -p0
 %patch2 -p1
 %patch3 -p1
+%patch4 -p1
 gnome-patch-translation-update
 
 %build

++++++ gtk3-fix-crash-recent-glib.patch ++++++
commit 7741f5a09a841c4dc93727b990defc303510ed2c
Author: Florian Müllner <[email protected]>
Date:   Fri Jul 15 20:45:59 2011 +0200

    theming-engine: Adjust register_property() to recent glib change
    
    GParamSpec now uses an intern'ed string for 'name', so the code
    in gtk_theming_engine_register_property() which prefixes the name
    with a namespace has to be adjusted.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=654695

diff --git a/gtk/gtkthemingengine.c b/gtk/gtkthemingengine.c
index 66adad6..64a2bc5 100644
--- a/gtk/gtkthemingengine.c
+++ b/gtk/gtkthemingengine.c
@@ -391,8 +391,8 @@ gtk_theming_engine_register_property (const gchar           
 *name_space,
 
   /* FIXME: hack hack hack, replacing pspec->name to include namespace */
   name = g_strdup_printf ("-%s-%s", name_space, pspec->name);
-  g_free (pspec->name);
-  pspec->name = name;
+  pspec->name = (char *)g_intern_string (name);
+  g_free (name);
 
   gtk_style_properties_register_property (parse_func, pspec);
 }

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Remember to have fun...

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to