projects
/
geeqie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
384d589
)
Drop dead code.
author
Laurent Monin
<zas@norz.org>
Thu, 30 Aug 2012 11:15:40 +0000
(13:15 +0200)
committer
Laurent Monin
<zas@norz.org>
Thu, 30 Aug 2012 11:15:40 +0000
(13:15 +0200)
src/ui_fileops.c
patch
|
blob
|
history
diff --git
a/src/ui_fileops.c
b/src/ui_fileops.c
index
9b9a4f9
..
f09219c
100644
(file)
--- a/
src/ui_fileops.c
+++ b/
src/ui_fileops.c
@@
-49,25
+49,6
@@
void print_term(const gchar *text_utf8)
g_free(text_l);
}
g_free(text_l);
}
-static void encoding_dialog(const gchar *path);
-
-static gboolean encoding_dialog_idle(gpointer data)
-{
- gchar *path = data;
-
- encoding_dialog(path);
- g_free(path);
-
- return FALSE;
-}
-
-static gint encoding_dialog_delay(gpointer data)
-{
- g_idle_add(encoding_dialog_idle, data);
-
- return 0;
-}
-
static void encoding_dialog(const gchar *path)
{
static gboolean warned_user = FALSE;
static void encoding_dialog(const gchar *path)
{
static gboolean warned_user = FALSE;
@@
-76,14
+57,6
@@
static void encoding_dialog(const gchar *path)
const gchar *lc;
const gchar *bf;
const gchar *lc;
const gchar *bf;
- /* check that gtk is initialized (loop is level > 0) */
-// if (gtk_main_level() == 0)
-// {
- /* gtk not initialized */
-// gtk_init_add(encoding_dialog_delay, g_strdup(path));
-// return;
-// }
-
if (warned_user) return;
warned_user = TRUE;
if (warned_user) return;
warned_user = TRUE;