[SCM] libquicktime/master: 11-gtk+-2.24.patch: Patch to remove deprecation warning when compiling against new gtk libraries (Closes: #622050).
fabian-guest at users.alioth.debian.org
fabian-guest at users.alioth.debian.org
Mon Apr 11 11:05:52 UTC 2011
The following commit has been merged in the master branch:
commit 12a9bf82eba1505852c89ef245e863c90f5dccfe
Author: Fabian Greffrath <fabian at greffrath.com>
Date: Mon Apr 11 21:53:49 2011 +0200
11-gtk+-2.24.patch: Patch to remove deprecation warning when compiling against new gtk libraries (Closes: #622050).
diff --git a/debian/patches/11-gtk+-2.24.patch b/debian/patches/11-gtk+-2.24.patch
new file mode 100644
index 0000000..122c6fa
--- /dev/null
+++ b/debian/patches/11-gtk+-2.24.patch
@@ -0,0 +1,22 @@
+Description: Patch to remove deprecation warning when compiling against new gtk libraries
+ changed gtk_combo_box_new_text into gtk_combo_box_text_new as proposed by gtk
+ documentation.
+Origin: http://bugs.gentoo.org/show_bug.cgi?id=351854
+Author: Ingo Krabbe
+Reviewed-by: Stian Jenssen
+
+--- libquicktime.orig/utils/gtk/lqt_gtk.c
++++ libquicktime/utils/gtk/lqt_gtk.c
+@@ -320,10 +320,10 @@ lqtgtk_create_parameter_widget(lqt_param
+ ret->label = gtk_label_new(TR_DOM(info->real_name));
+ gtk_misc_set_alignment(GTK_MISC(ret->label), 0.0, 0.5);
+
+- ret->widget = gtk_combo_box_new_text();
++ ret->widget = gtk_combo_box_text_new();
+ for(i = 0; i < info->num_stringlist_options; i++)
+ {
+- gtk_combo_box_append_text (GTK_COMBO_BOX (ret->widget),
++ gtk_combo_box_text_append_text (GTK_COMBO_BOX_TEXT (ret->widget),
+ info->stringlist_options[i]);
+ }
+ g_signal_connect(GTK_COMBO_BOX (ret->widget),
diff --git a/debian/patches/series b/debian/patches/series
index 3b78bdb..ee2a812 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,4 +1,5 @@
02-install-in-libquicktime1.patch
21-export-quicktime_set_window.patch
10-gtk+-2.22.patch
+11-gtk+-2.24.patch
70-relibtoolize.patch
--
libquicktime packaging
More information about the pkg-multimedia-commits
mailing list