Skip to content

Commit 3954e3c

Browse files
committed
patch 8.0.0276: unnecessary #ifdefs
Problem: Checking for FEAT_GUI_GNOME inside GTK 3 code is unnecessary. Solution: Remove the #ifdef. (Kazunobu Kuriyama)
1 parent e3caa11 commit 3954e3c

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

src/gui_gtk_x11.c

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3212,15 +3212,7 @@ get_item_dimensions(GtkWidget *widget, GtkOrientation orientation)
32123212
GtkAllocation allocation;
32133213

32143214
gtk_widget_get_allocation(widget, &allocation);
3215-
3216-
# ifdef FEAT_GUI_GNOME
3217-
if (orientation == GTK_ORIENTATION_HORIZONTAL)
3218-
return allocation.height;
3219-
else
3220-
return allocation.width;
3221-
# else
32223215
return allocation.height;
3223-
#endif
32243216
# else
32253217
# ifdef FEAT_GUI_GNOME
32263218
if (orientation == GTK_ORIENTATION_HORIZONTAL)

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -764,6 +764,8 @@ static char *(features[]) =
764764

765765
static int included_patches[] =
766766
{ /* Add new patch number below this line */
767+
/**/
768+
276,
767769
/**/
768770
275,
769771
/**/

0 commit comments

Comments
 (0)