diff options
Diffstat (limited to 'e-util')
-rw-r--r-- | e-util/gtk-compat.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/e-util/gtk-compat.h b/e-util/gtk-compat.h index bbee3717cf..f67a9e2c8b 100644 --- a/e-util/gtk-compat.h +++ b/e-util/gtk-compat.h @@ -5,6 +5,11 @@ /* Provide a GTK+ compatibility layer. */ +#if !GTK_CHECK_VERSION (2,91,0) /* approximately */ +#define gtk_widget_get_preferred_size(widget, minimum_size, natural_size) \ + (gtk_widget_size_request ((widget), ((minimum_size)))) +#endif + #if !GTK_CHECK_VERSION (2,23,0) #define gtk_combo_box_text_new gtk_combo_box_new_text #define gtk_combo_box_text_append_text gtk_combo_box_append_text |