aboutsummaryrefslogtreecommitdiff
path: root/src/fs/gnunet-fs-gtk-anonymity_spin_buttons.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fs/gnunet-fs-gtk-anonymity_spin_buttons.c')
-rw-r--r--src/fs/gnunet-fs-gtk-anonymity_spin_buttons.c17
1 files changed, 16 insertions, 1 deletions
diff --git a/src/fs/gnunet-fs-gtk-anonymity_spin_buttons.c b/src/fs/gnunet-fs-gtk-anonymity_spin_buttons.c
index 6c22aa7b..380daa09 100644
--- a/src/fs/gnunet-fs-gtk-anonymity_spin_buttons.c
+++ b/src/fs/gnunet-fs-gtk-anonymity_spin_buttons.c
@@ -1,6 +1,6 @@
1/* 1/*
2 This file is part of GNUnet 2 This file is part of GNUnet
3 (C) 2005, 2006, 2010 Christian Grothoff (and other contributing authors) 3 (C) 2005, 2006, 2010, 2012 Christian Grothoff (and other contributing authors)
4 4
5 GNUnet is free software; you can redistribute it and/or modify 5 GNUnet is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published 6 it under the terms of the GNU General Public License as published
@@ -119,6 +119,14 @@ GNUNET_GTK_get_selected_anonymity_combo_level (GtkComboBox *combo, guint *p_leve
119} 119}
120 120
121 121
122/**
123 * Set the anonymity level displayed by a combo box.
124 *
125 * @param builder the builder of the combo box
126 * @param combo_name name of the combo box
127 * @param sel_level desired anonymity level
128 * @return TRUE on success, FALSE on failure
129 */
122gboolean 130gboolean
123GNUNET_GTK_select_anonymity_level (GtkBuilder * builder, gchar * combo_name, 131GNUNET_GTK_select_anonymity_level (GtkBuilder * builder, gchar * combo_name,
124 guint sel_level) 132 guint sel_level)
@@ -132,6 +140,13 @@ GNUNET_GTK_select_anonymity_level (GtkBuilder * builder, gchar * combo_name,
132} 140}
133 141
134 142
143/**
144 * Set the anonymity level displayed by a combo box.
145 *
146 * @param combo the combo box
147 * @param sel_level desired anonymity level
148 * @return TRUE on success, FALSE on failure
149 */
135gboolean 150gboolean
136GNUNET_GTK_select_anonymity_combo_level (GtkComboBox *combo, guint sel_level) 151GNUNET_GTK_select_anonymity_combo_level (GtkComboBox *combo, guint sel_level)
137{ 152{