[gthumb] move the print_history function before _gth_browser_update_history_list
- From: Paolo Bacchilega <paobac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gthumb] move the print_history function before _gth_browser_update_history_list
- Date: Sun, 2 Jan 2011 13:41:28 +0000 (UTC)
commit 4239f6641930d41e3d0337de05d6ca5c5cab26e7
Author: Paolo Bacchilega <paobac src gnome org>
Date: Sat Jan 1 20:35:13 2011 +0100
move the print_history function before _gth_browser_update_history_list
...where it's needed.
gthumb/gth-browser.c | 40 ++++++++++++++++++++--------------------
1 files changed, 20 insertions(+), 20 deletions(-)
---
diff --git a/gthumb/gth-browser.c b/gthumb/gth-browser.c
index e2f3231..2eebd77 100644
--- a/gthumb/gth-browser.c
+++ b/gthumb/gth-browser.c
@@ -659,6 +659,26 @@ _gth_browser_add_clear_history_menu_item (GthBrowser *browser,
}
+#if 0
+static void
+_gth_browser_print_history (GthBrowser *browser)
+{
+ GList *scan;
+
+ g_print ("history:\n");
+ for (scan = browser->priv->history; scan; scan = scan->next) {
+ GFile *file = scan->data;
+ char *uri;
+
+ uri = g_file_get_uri (file);
+ g_print (" %s%s\n", (browser->priv->history_current == scan) ? "*" : " ", uri);
+
+ g_free (uri);
+ }
+}
+#endif
+
+
static void
_gth_browser_update_history_list (GthBrowser *browser)
{
@@ -1587,26 +1607,6 @@ _gth_browser_load_ready_cb (GthFileSource *file_source,
}
-#if 0
-static void
-_gth_browser_print_history (GthBrowser *browser)
-{
- GList *scan;
-
- g_print ("history:\n");
- for (scan = browser->priv->history; scan; scan = scan->next) {
- GFile *file = scan->data;
- char *uri;
-
- uri = g_file_get_uri (file);
- g_print (" %s%s\n", (browser->priv->history_current == scan) ? "*" : " ", uri);
-
- g_free (uri);
- }
-}
-#endif
-
-
static GFile *
get_nearest_entry_point (GFile *file)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]