summaryrefslogtreecommitdiff
path: root/gtk/gtkfilechooserentry.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2011-11-06 02:47:36 +0100
committerBenjamin Otte <otte@redhat.com>2011-12-16 20:09:13 +0100
commitcdd236ddd40ac867518adeeab19d27314019fc40 (patch)
tree2510a3280f6b50a5f1af17d8aa31bd9dea91b8f8 /gtk/gtkfilechooserentry.c
parentc585471bafcc71c1535bbc436385e88b7e2f84a4 (diff)
downloadgtk+-cdd236ddd40ac867518adeeab19d27314019fc40.tar.gz
filechooserentry: Merge function
Diffstat (limited to 'gtk/gtkfilechooserentry.c')
-rw-r--r--gtk/gtkfilechooserentry.c12
1 files changed, 3 insertions, 9 deletions
diff --git a/gtk/gtkfilechooserentry.c b/gtk/gtkfilechooserentry.c
index e2a8a54614..2f6112e0b8 100644
--- a/gtk/gtkfilechooserentry.c
+++ b/gtk/gtkfilechooserentry.c
@@ -1367,14 +1367,6 @@ perform_load_complete_action (GtkFileChooserEntry *chooser_entry)
chooser_entry->load_complete_action = LOAD_COMPLETE_NOTHING;
}
-static void
-finish_folder_load (GtkFileChooserEntry *chooser_entry)
-{
- perform_load_complete_action (chooser_entry);
-
- gtk_widget_set_tooltip_text (GTK_WIDGET (chooser_entry), NULL);
-}
-
/* Callback when the current folder finishes loading */
static void
finished_loading_cb (GtkFileSystemModel *model,
@@ -1403,7 +1395,9 @@ finished_loading_cb (GtkFileSystemModel *model,
return;
}
- finish_folder_load (chooser_entry);
+ perform_load_complete_action (chooser_entry);
+
+ gtk_widget_set_tooltip_text (GTK_WIDGET (chooser_entry), NULL);
}
static RefreshStatus