|
|
| version 1.12, 2007/02/05 14:58:59 | version 1.13, 2011/01/15 16:48:39 |
|---|---|
| Line 45 | Line 45 |
| extern int verbose; | extern int verbose; |
| extern volatile sig_atomic_t np2running; | extern volatile sig_atomic_t np2running; |
| #ifdef DEBUG | |
| #ifndef VERBOSE | #ifndef VERBOSE |
| #define VERBOSE(s) if (verbose) printf s | #define VERBOSE(s) if (verbose) g_printerr s |
| #endif | #endif /* !VERBOSE */ |
| #else /* !DEBUG */ | |
| #define VERBOSE(s) | |
| #endif /* DEBUG */ | |
| void | void |
| gtk_scale_set_default_values(GtkScale *scale) | gtk_scale_set_default_values(GtkScale *scale) |
| Line 290 gtk_window_init_fullscreen(GtkWidget *wi | Line 294 gtk_window_init_fullscreen(GtkWidget *wi |
| if (verbose) { | if (verbose) { |
| if (use_xvid) { | if (use_xvid) { |
| printf("Using XF86VidMode extension\n"); | VERBOSE(("Using XF86VidMode extension\n")); |
| } else if (use_netwm) { | } else if (use_netwm) { |
| printf("Using _NET_WM_STATE_FULLSCREEN\n"); | VERBOSE(("Using _NET_WM_STATE_FULLSCREEN\n")); |
| } else { | } else { |
| printf("not supported\n"); | VERBOSE(("not supported\n")); |
| } | } |
| } | } |