summaryrefslogtreecommitdiff
path: root/plugins/converter
diff options
context:
space:
mode:
authorGravatar waker <wakeroid@gmail.com>2012-08-08 18:34:25 +0200
committerGravatar waker <wakeroid@gmail.com>2012-08-08 18:34:25 +0200
commite4ebb9a8569ce5ca5f8aed9a9292eaff56557c40 (patch)
treed704fe3ed012751c080ae4ac83af09ae9fbd111b /plugins/converter
parentfa3d7b5639963005869673a540594360133a70d9 (diff)
get rid of ULTRA_PORTABLE define, gtk stuff now works without it
Diffstat (limited to 'plugins/converter')
-rw-r--r--plugins/converter/support.c2
-rw-r--r--plugins/converter/support.h6
2 files changed, 4 insertions, 4 deletions
diff --git a/plugins/converter/support.c b/plugins/converter/support.c
index 1eef6efc..b3816098 100644
--- a/plugins/converter/support.c
+++ b/plugins/converter/support.c
@@ -197,7 +197,7 @@ gtk_combo_box_text_get_active_text (GtkComboBoxText *combo_box) {
#endif
-#if !GTK_CHECK_VERSION(2,18,0) || defined(ULTRA_COMPATIBLE)
+#if !GTK_CHECK_VERSION(2,18,0)
void
gtk_widget_set_allocation (GtkWidget *widget, const GtkAllocation *allocation) {
widget->allocation.x = (allocation)->x;
diff --git a/plugins/converter/support.h b/plugins/converter/support.h
index 00e31c0f..2161fb55 100644
--- a/plugins/converter/support.h
+++ b/plugins/converter/support.h
@@ -104,7 +104,7 @@ void gtk_combo_box_text_prepend_text (GtkComboBoxText *combo_box, const gchar *t
gchar *gtk_combo_box_text_get_active_text (GtkComboBoxText *combo_box);
#endif
-#if !GTK_CHECK_VERSION(2,14,0) || defined(ULTRA_COMPATIBLE)
+#if !GTK_CHECK_VERSION(2,14,0)
#define gtk_widget_get_window(widget) ((widget)->window)
#define gtk_selection_data_get_target(data) (data->target)
#define gtk_dialog_get_content_area(dialog) (dialog->vbox)
@@ -116,7 +116,7 @@ gchar *gtk_combo_box_text_get_active_text (GtkComboBoxText *combo_box);
#define gtk_adjustment_get_upper(adj) (adj->upper)
#endif
-#if !GTK_CHECK_VERSION(2,18,0) || defined(ULTRA_COMPATIBLE)
+#if !GTK_CHECK_VERSION(2,18,0)
#define gtk_widget_set_has_window(widget, has_window) \
if (has_window) GTK_WIDGET_UNSET_FLAGS (widget, GTK_NO_WINDOW); \
else GTK_WIDGET_SET_FLAGS (widget, GTK_NO_WINDOW);
@@ -127,7 +127,7 @@ void gtk_widget_set_window(GtkWidget *widget, GdkWindow *window);
#endif
-#if !GTK_CHECK_VERSION(2,18,0) || defined(ULTRA_COMPATIBLE)
+#if !GTK_CHECK_VERSION(2,18,0)
void gtk_widget_set_allocation (GtkWidget *widget,
const GtkAllocation *allocation);