diff options
Diffstat (limited to 'src/fs/gnunet-fs-gtk-anonymity_spin_buttons.h')
-rw-r--r-- | src/fs/gnunet-fs-gtk-anonymity_spin_buttons.h | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/src/fs/gnunet-fs-gtk-anonymity_spin_buttons.h b/src/fs/gnunet-fs-gtk-anonymity_spin_buttons.h index 0d4e2dac..7847904a 100644 --- a/src/fs/gnunet-fs-gtk-anonymity_spin_buttons.h +++ b/src/fs/gnunet-fs-gtk-anonymity_spin_buttons.h | |||
@@ -19,7 +19,7 @@ | |||
19 | */ | 19 | */ |
20 | 20 | ||
21 | /** | 21 | /** |
22 | * @file src/fs/gnunet-fs-gtk-anonymtiy_spin_buttons.c | 22 | * @file src/fs/gnunet-fs-gtk-anonymtiy_spin_buttons.h |
23 | * @author Christian Grothoff | 23 | * @author Christian Grothoff |
24 | * @brief operations to manage user's anonymity level selections | 24 | * @brief operations to manage user's anonymity level selections |
25 | */ | 25 | */ |
@@ -30,11 +30,26 @@ | |||
30 | #include <gdk/gdk.h> | 30 | #include <gdk/gdk.h> |
31 | 31 | ||
32 | 32 | ||
33 | /** | ||
34 | * Obtain the numeric anonymity level selected by a GtkComboBox. | ||
35 | * | ||
36 | * @param builder builder for looking up widgets | ||
37 | * @param combo_name name of the GtkComboBox with the anonymity selection | ||
38 | * @param p_level where to store the anonymity level | ||
39 | * @return TRUE on success, FALSE on failure | ||
40 | */ | ||
33 | gboolean | 41 | gboolean |
34 | GNUNET_GTK_get_selected_anonymity_level (GtkBuilder * builder, | 42 | GNUNET_GTK_get_selected_anonymity_level (GtkBuilder * builder, |
35 | gchar * combo_name, guint * p_level); | 43 | gchar * combo_name, guint * p_level); |
36 | 44 | ||
37 | 45 | ||
46 | /** | ||
47 | * Obtain the numeric anonymity level selected by a GtkComboBox. | ||
48 | * | ||
49 | * @param combo the GtkComboBox with the anonymity selection | ||
50 | * @param p_level where to store the anonymity level | ||
51 | * @return TRUE on success, FALSE on failure | ||
52 | */ | ||
38 | gboolean | 53 | gboolean |
39 | GNUNET_GTK_get_selected_anonymity_combo_level (GtkComboBox *combo, guint *p_level); | 54 | GNUNET_GTK_get_selected_anonymity_combo_level (GtkComboBox *combo, guint *p_level); |
40 | 55 | ||