# HG changeset patch # User Christian Brabandt # Date 1485946804 -3600 # Node ID bda1d67f83f3b0074640ce04a4e2dd0e32f4f948 # Parent 617557284eb386b05218516a7f7cbd41665bd6ac patch 8.0.0276: unnecessary #ifdefs commit https://github.com/vim/vim/commit/3954e3c4b5d2bfda4c481c076fbc39ab06be7639 Author: Bram Moolenaar Date: Wed Feb 1 11:50:09 2017 +0100 patch 8.0.0276: unnecessary #ifdefs Problem: Checking for FEAT_GUI_GNOME inside GTK 3 code is unnecessary. Solution: Remove the #ifdef. (Kazunobu Kuriyama) diff --git a/src/gui_gtk_x11.c b/src/gui_gtk_x11.c --- a/src/gui_gtk_x11.c +++ b/src/gui_gtk_x11.c @@ -3212,15 +3212,7 @@ get_item_dimensions(GtkWidget *widget, G GtkAllocation allocation; gtk_widget_get_allocation(widget, &allocation); - -# ifdef FEAT_GUI_GNOME - if (orientation == GTK_ORIENTATION_HORIZONTAL) - return allocation.height; - else - return allocation.width; -# else return allocation.height; -#endif # else # ifdef FEAT_GUI_GNOME if (orientation == GTK_ORIENTATION_HORIZONTAL) diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -765,6 +765,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 276, +/**/ 275, /**/ 274,