aboutsummaryrefslogtreecommitdiffstats
path: root/ui/gtk/main_welcome.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2013-05-22 23:20:35 +0000
committerGuy Harris <guy@alum.mit.edu>2013-05-22 23:20:35 +0000
commit1fe073a93b8cc75ce05d1b4c3dbf8b3bd4271533 (patch)
tree920b40b9bac80a2c55910778b91d3d5dc1f5e1bf /ui/gtk/main_welcome.c
parentb213dcc58441a67aa851ce08a00e3e33307d94bf (diff)
Make a routine not used outside this file static.
svn path=/trunk/; revision=49533
Diffstat (limited to 'ui/gtk/main_welcome.c')
-rw-r--r--ui/gtk/main_welcome.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/ui/gtk/main_welcome.c b/ui/gtk/main_welcome.c
index 6de0feaae5..215c6fa20c 100644
--- a/ui/gtk/main_welcome.c
+++ b/ui/gtk/main_welcome.c
@@ -707,11 +707,12 @@ main_welcome_add_recent_capture_file(const char *widget_cf_name, GObject *menu_i
}
#ifdef HAVE_LIBPCAP
-gboolean on_selection_changed(GtkTreeSelection *selection _U_,
- GtkTreeModel *model,
- GtkTreePath *path,
- gboolean path_currently_selected,
- gpointer data _U_)
+static gboolean
+on_selection_changed(GtkTreeSelection *selection _U_,
+ GtkTreeModel *model,
+ GtkTreePath *path,
+ gboolean path_currently_selected,
+ gpointer data _U_)
{
GtkTreeIter iter;
gchar *if_name;