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
index 8781e2c..eef0bd4 100644
--- a/src/gui_gtk_x11.c
+++ b/src/gui_gtk_x11.c
@@ -3212,15 +3212,7 @@
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
index d8b82a8..8aeb688 100644
--- a/src/version.c
+++ b/src/version.c
@@ -765,6 +765,8 @@
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 276,
+/**/
275,
/**/
274,