summaryrefslogtreecommitdiff
path: root/crashrep
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-04-21 21:42:18 +0100
committerCaolán McNamara <caolanm@redhat.com>2012-04-21 21:42:40 +0100
commit461b786be77a2116673915d56e1bf875cac792b5 (patch)
treee629df96b1a005f19da44289ea2d3be98f1cee12 /crashrep
parentad4f72560627a2d75c71a34f2a37ab1f5a2bf05d (diff)
make comment reflect reality
Diffstat (limited to 'crashrep')
-rw-r--r--crashrep/source/unx/main.cxx25
1 files changed, 2 insertions, 23 deletions
diff --git a/crashrep/source/unx/main.cxx b/crashrep/source/unx/main.cxx
index d4c17bd461ed..493c21f0dbee 100644
--- a/crashrep/source/unx/main.cxx
+++ b/crashrep/source/unx/main.cxx
@@ -1032,38 +1032,17 @@ static bool setup_version()
return 0 != g_strReportServer.length();
}
-#if 0
-// Use gconftool-2 to determine if gnome accessiblity is enabled
-// unused
-static bool get_accessibility_state()
-{
- bool bAccessible = false;
- FILE *fin = popen( "gconftool-2 -g /desktop/gnome/interface/accessibility", "r");
-
- if ( fin )
- {
- char buffer[sizeof("true")];
-
- bAccessible = fgets( buffer, sizeof(buffer), fin ) && 0 == strcmp( buffer, "true" );
-
- pclose( fin );
- }
-
- return bAccessible;
-}
-#endif
-
int main( int argc, char** argv )
{
FILE *fin = freopen( "/dev/null", "w", stderr );
- if (!fin)
+ if (!fin)
{
return -1;
}
setup_program_dir( argv[0] );
- // Don't start if accessiblity is enabled or report server is not given
+ // Don't start if report server is not given
if ( setup_version() )
{