app: don't show "Check for updates" button in Preferences when option...

... deactivated at build anyway.

(cherry picked from commit f9f4538358)
This commit is contained in:
Jehan
2020-02-06 22:20:28 +01:00
parent bcb17c94a8
commit 4e1f175bf6

View File

@ -1216,12 +1216,14 @@ prefs_dialog_new (Gimp *gimp,
gtk_box_pack_start (GTK_BOX (vbox2), hbox, FALSE, FALSE, 0);
/* Internet access */
#ifdef CHECK_UPDATE
vbox2 = prefs_frame_new (_("Network access"), GTK_CONTAINER (vbox),
FALSE);
prefs_check_button_add (object, "check-updates",
_("Check for updates (requires internet)"),
GTK_BOX (vbox2));
#endif
/* Image Thumbnails */
vbox2 = prefs_frame_new (_("Image Thumbnails"), GTK_CONTAINER (vbox), FALSE);