aboutsummaryrefslogtreecommitdiff
path: root/src/fs/gnunet-fs-gtk-anonymity_spin_buttons.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2012-02-02 00:07:29 +0000
committerChristian Grothoff <christian@grothoff.org>2012-02-02 00:07:29 +0000
commit16eed84700a408f5e5e8d1437d0d3ae53263ea8e (patch)
tree6188dc9955753b5f1f75bfe6a6dad2a4c89a3906 /src/fs/gnunet-fs-gtk-anonymity_spin_buttons.h
parente3b89998cab7d1314f914f591b4d7481270615e8 (diff)
downloadgnunet-gtk-16eed84700a408f5e5e8d1437d0d3ae53263ea8e.tar.gz
gnunet-gtk-16eed84700a408f5e5e8d1437d0d3ae53263ea8e.zip
-simplifying logic some
Diffstat (limited to 'src/fs/gnunet-fs-gtk-anonymity_spin_buttons.h')
-rw-r--r--src/fs/gnunet-fs-gtk-anonymity_spin_buttons.h17
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 */
33gboolean 41gboolean
34GNUNET_GTK_get_selected_anonymity_level (GtkBuilder * builder, 42GNUNET_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 */
38gboolean 53gboolean
39GNUNET_GTK_get_selected_anonymity_combo_level (GtkComboBox *combo, guint *p_level); 54GNUNET_GTK_get_selected_anonymity_combo_level (GtkComboBox *combo, guint *p_level);
40 55