[gnome-control-center] info: remove unused function
- From: William Jon McCann <mccann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] info: remove unused function
- Date: Mon, 21 Feb 2011 14:29:49 +0000 (UTC)
commit 5a02db3c0ff91e79accd4e74f0983f69918fb717
Author: William Jon McCann <jmccann redhat com>
Date: Mon Feb 21 09:29:32 2011 -0500
info: remove unused function
panels/info/cc-info-panel.c | 23 -----------------------
1 files changed, 0 insertions(+), 23 deletions(-)
---
diff --git a/panels/info/cc-info-panel.c b/panels/info/cc-info-panel.c
index 55a71a3..751ffa9 100644
--- a/panels/info/cc-info-panel.c
+++ b/panels/info/cc-info-panel.c
@@ -350,29 +350,6 @@ get_graphics_info (void)
}
static gboolean
-get_is_graphics_accelerated (void)
-{
- GError *error = NULL;
- gchar *is_accelerated_binary;
- gchar *argv[2];
- gint estatus;
-
- is_accelerated_binary = g_build_filename (LIBEXECDIR, "gnome-session-is-accelerated", NULL);
-
- error = NULL;
- argv[0] = is_accelerated_binary;
- argv[G_N_ELEMENTS(argv)] = NULL;
-
- g_spawn_sync (NULL, argv, NULL, G_SPAWN_STDOUT_TO_DEV_NULL | G_SPAWN_STDERR_TO_DEV_NULL,
- NULL, NULL, NULL, NULL, &estatus, &error);
- if (error != NULL || estatus != 0)
- return FALSE;
- else
- return TRUE;
-
-}
-
-static gboolean
get_current_is_fallback (CcInfoPanel *self)
{
GError *error;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]