1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- 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
|