summaryrefslogtreecommitdiffstats
path: root/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os_custom.h
diff options
context:
space:
mode:
authorAnatoly Spektor <aspektor@redhat.com>2012-08-28 15:19:54 -0400
committerAnatoly Spektor <aspektor@redhat.com>2012-08-28 15:19:54 -0400
commitc47cc57ebf3b1c46a730df03432af6a0b59c5aca (patch)
tree6b3a90a5785a1ca2f6fa39617ca703f8bd5af664 /bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os_custom.h
parent7ac2d15e081f50dc81d21e4d632f358a2190c759 (diff)
downloadeclipse.platform.swt-c47cc57ebf3b1c46a730df03432af6a0b59c5aca.tar.gz
eclipse.platform.swt-c47cc57ebf3b1c46a730df03432af6a0b59c5aca.tar.xz
eclipse.platform.swt-c47cc57ebf3b1c46a730df03432af6a0b59c5aca.zip
Use gtk_box_new() and gtk_box_set_homogeneous() for GTK3gtk3_box_new
This patch implements Gtk 3 methods gtk_box_new() and gtk_box_set_homogeneous() instead of deprecated gtk_hbox_new() and gtk_vbox_new()
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os_custom.h')
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os_custom.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os_custom.h b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os_custom.h
index 69b44542ef..f8de3bb693 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os_custom.h
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os_custom.h
@@ -72,6 +72,10 @@
#define XRenderSetPictureTransform_LIB LIB_XRENDER
#define g_filename_display_name_LIB LIB_GLIB
#define gtk_widget_set_allocation_LIB LIB_GTK
+#define gtk_box_new_LIB LIB_GTK
+#define gtk_box_set_homogeneous_LIB LIB_GTK
+#define gtk_hbox_new_LIB LIB_GTK
+#define gtk_vbox_new_LIB LIB_GTK
#define gtk_calendar_display_options_LIB LIB_GTK
#define gtk_calendar_get_date_LIB LIB_GTK
#define gtk_calendar_new_LIB LIB_GTK