summaryrefslogtreecommitdiff
path: root/eel/eel-debug.c
diff options
context:
space:
mode:
authormonsta <[email protected]>2016-08-21 03:29:50 +0300
committermonsta <[email protected]>2016-08-22 16:40:21 +0300
commit3c6122df79f4d6e86d7afa0e6c4b64403de7bc44 (patch)
treebd06579cadb62b290fb983f61a02e4dedb3f64b1 /eel/eel-debug.c
parent6f295db45ebcb52c6e9ad39f8d639e35f88c5ef5 (diff)
downloadcaja-3c6122df79f4d6e86d7afa0e6c4b64403de7bc44.tar.bz2
caja-3c6122df79f4d6e86d7afa0e6c4b64403de7bc44.tar.xz
drop a large amount of completely unused code
Diffstat (limited to 'eel/eel-debug.c')
-rw-r--r--eel/eel-debug.c28
1 files changed, 0 insertions, 28 deletions
diff --git a/eel/eel-debug.c b/eel/eel-debug.c
index 25bfaceb..46ad3330 100644
--- a/eel/eel-debug.c
+++ b/eel/eel-debug.c
@@ -74,34 +74,6 @@ eel_make_warnings_and_criticals_stop_in_debugger (void)
g_log_set_default_handler (log_handler, NULL);
}
-int
-eel_get_available_file_descriptor_count (void)
-{
- int count;
- GList *list;
- GList *p;
- FILE *file;
-
- list = NULL;
- for (count = 0; ; count++)
- {
- file = fopen ("/dev/null", "r");
- if (file == NULL)
- {
- break;
- }
- list = g_list_prepend (list, file);
- }
-
- for (p = list; p != NULL; p = p->next)
- {
- fclose (p->data);
- }
- g_list_free (list);
-
- return count;
-}
-
void
eel_debug_shut_down (void)
{