slackbuilds_ponce/multimedia/ripperX/gtk_cpp_workaround.patch
David Golus 9b1d3ef8bc multimedia/ripperX: Updated for version 2.8.0.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
2018-04-14 07:06:29 +07:00

43 lines
1.1 KiB
Diff

diff -urN ripperx-2.8.0/src/gtk_cpp_workaround.h ripperx-2.8.0/src/gtk_cpp_workaround.h
--- ripperx-2.8.0/src/gtk_cpp_workaround.h 1969-12-31 16:00:00.000000000 -0800
+++ ripperx-2.8.0/src/gtk_cpp_workaround.h 2016-10-06 12:47:06.512778792 -0700
@@ -0,0 +1,39 @@
+#ifndef gtk_cpp_workaround_h
+#define gtk_cpp_workaround_h
+#ifdef __cplusplus
+//proto is wrong, override here for C++
+namespace
+{
+
+inline void gtk_table_attach (GtkTable *table,
+ GtkWidget *child,
+ guint left_attach,
+ guint right_attach,
+ guint top_attach,
+ guint bottom_attach,
+ //GtkAttachOptions xoptions,
+ //GtkAttachOptions yoptions,
+ guint xoptions, guint yoptions,
+ guint xpadding,
+ guint ypadding
+ )
+{
+ gtk_table_attach(table,
+ child,
+ left_attach,
+ right_attach,
+ top_attach,
+ bottom_attach,
+ (GtkAttachOptions)xoptions,
+ (GtkAttachOptions)yoptions,
+ xpadding,
+ ypadding
+ );
+
+ };
+
+
+}
+
+#endif
+#endif