Mercurial > hg > forks > geeqie
changeset 2115:d61b1c2699bd
Drop dead code.
author | Laurent Monin <zas@norz.org> |
---|---|
date | Thu, 30 Aug 2012 13:15:40 +0200 |
parents | 8f1a6f05903c |
children | 8db9da8cc955 |
files | src/ui_fileops.c |
diffstat | 1 files changed, 0 insertions(+), 27 deletions(-) [+] |
line wrap: on
line diff
--- a/src/ui_fileops.c Thu Aug 30 04:22:32 2012 +0200 +++ b/src/ui_fileops.c Thu Aug 30 13:15:40 2012 +0200 @@ -49,25 +49,6 @@ 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; @@ -76,14 +57,6 @@ 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;