[gnome-control-center] Followup cleanup
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] Followup cleanup
- Date: Tue, 22 Apr 2014 21:49:24 +0000 (UTC)
commit 09f6747d5c0cb2217280371e3d82d77c0e4cc86f
Author: Matthias Clasen <mclasen redhat com>
Date: Mon Apr 21 14:25:42 2014 -0400
Followup cleanup
Ifdef the functions too, otherwise they will cause the compiler
to complain about unused statics when building without X.
https://bugzilla.gnome.org/show_bug.cgi?id=728672
panels/info/cc-info-panel.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/panels/info/cc-info-panel.c b/panels/info/cc-info-panel.c
index 667b3de..e77089f 100644
--- a/panels/info/cc-info-panel.c
+++ b/panels/info/cc-info-panel.c
@@ -290,6 +290,7 @@ graphics_data_free (GraphicsData *gdata)
g_slice_free (GraphicsData, gdata);
}
+#ifdef GDK_WINDOWING_X11
static char *
get_graphics_data_glx_renderer ()
{
@@ -422,6 +423,7 @@ get_graphics_data_xorg_vesa_hardware (void)
return result;
}
+#endif
static GraphicsData *
get_graphics_data (void)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]