mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
9b1d3ef8bc
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
43 lines
1.1 KiB
Diff
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
|