[Pkg-cli-libs-commits] [SCM] gtk-sharp2 branch, master, updated. debian/2.12.10-4-2-g1994729
Carlos Martín Nieto
cmn at dwim.me
Wed Sep 5 22:08:45 UTC 2012
The following commit has been merged in the master branch:
commit 1994729bb0be8102205009ac71172efd6d92f3ab
Author: Carlos Martín Nieto <cmn at dwim.me>
Date: Wed Sep 5 23:55:12 2012 +0200
debian/patches: update 06_IconTheme_use_glib_marshaller
Update it with a small fix from upstream, so we pass the right number
of paths to GTK.
diff --git a/debian/patches/06_IconTheme_use_glib_marshaller b/debian/patches/06_IconTheme_use_glib_marshaller
index 3a232c1..ec30b9e 100644
--- a/debian/patches/06_IconTheme_use_glib_marshaller
+++ b/debian/patches/06_IconTheme_use_glib_marshaller
@@ -6,8 +6,8 @@ Author: Carlos Martín Nieto <cmn at dwim.me>
Index: gtk-sharp2/gtk/IconTheme.custom
===================================================================
---- gtk-sharp2.orig/gtk/IconTheme.custom 2012-09-02 18:01:52.000000000 +0200
-+++ gtk-sharp2/gtk/IconTheme.custom 2012-09-02 18:01:52.000000000 +0200
+--- gtk-sharp2.orig/gtk/IconTheme.custom 2012-09-02 18:22:23.517201189 +0200
++++ gtk-sharp2/gtk/IconTheme.custom 2012-09-05 23:48:34.244916093 +0200
@@ -71,9 +71,6 @@
public string[] SearchPath {
@@ -48,9 +48,11 @@ Index: gtk-sharp2/gtk/IconTheme.custom
+ native_path = GLib.Marshaller.StringArrayToNullTermPointer (value);
if (IsWindowsPlatform)
- gtk_icon_theme_set_search_path_utf8 (Handle, native_path, native_path.Length);
+- gtk_icon_theme_set_search_path_utf8 (Handle, native_path, native_path.Length);
++ gtk_icon_theme_set_search_path_utf8 (Handle, native_path, value.Length);
else
- gtk_icon_theme_set_search_path (Handle, native_path, native_path.Length);
+- gtk_icon_theme_set_search_path (Handle, native_path, native_path.Length);
++ gtk_icon_theme_set_search_path (Handle, native_path, value.Length);
- for (int i = 0; i < native_path.Length; i++)
- GLib.Marshaller.Free (native_path[i]);
--
gtk-sharp2
More information about the Pkg-cli-libs-commits
mailing list