X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=xscreensaver;a=blobdiff_plain;f=driver%2Fdemo-Gtk.c;h=03d5244c59e9b87fad33db0413f656f91efbd6f4;hp=f5c483965a3a8ead6947abc473d9ea4a823f1c29;hb=39809ded547bdbb08207d3e514950425215b4410;hpb=4361b69d3178d7fc98d0388f9a223af6c2651aba diff --git a/driver/demo-Gtk.c b/driver/demo-Gtk.c index f5c48396..03d5244c 100644 --- a/driver/demo-Gtk.c +++ b/driver/demo-Gtk.c @@ -1,5 +1,5 @@ /* demo-Gtk.c --- implements the interactive demo-mode and options dialogs. - * xscreensaver, Copyright (c) 1993-2016 Jamie Zawinski + * xscreensaver, Copyright (c) 1993-2017 Jamie Zawinski * * Permission to use, copy, modify, distribute, and sell this software and its * documentation for any purpose is hereby granted without fee, provided that @@ -1039,12 +1039,6 @@ await_xscreensaver (state *s) "\n")); if (root_p) - -# ifdef __GNUC__ - __extension__ /* don't warn about "string length is greater than - the length ISO C89 compilers are required to - support" in the following expression... */ -# endif strcat (buf, STFU _("You are running as root. This usually means that xscreensaver\n" "was unable to contact your X server because access control is\n" @@ -2920,7 +2914,6 @@ populate_prefs_page (state *s) /* DPMS */ -dpms_supported=1; SENSITIZE ("dpms_frame", dpms_supported); SENSITIZE ("dpms_button", dpms_supported); SENSITIZE ("dpms_quickoff_button", dpms_supported); @@ -4630,12 +4623,6 @@ g_log_handler (const gchar *log_domain, GLogLevelFlags log_level, } -#ifdef __GNUC__ - __extension__ /* shut up about "string length is greater than the length - ISO C89 compilers are required to support" when including - the .ad file... */ -#endif - STFU static char *defaults[] = { #include "XScreenSaver_ad.h"