aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_gtk.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/gnunet_gtk.h')
-rw-r--r--src/include/gnunet_gtk.h17
1 files changed, 11 insertions, 6 deletions
diff --git a/src/include/gnunet_gtk.h b/src/include/gnunet_gtk.h
index 67caaf1b..ae49aefa 100644
--- a/src/include/gnunet_gtk.h
+++ b/src/include/gnunet_gtk.h
@@ -47,6 +47,13 @@
47#define GDK_KEY_Delete GDK_Delete 47#define GDK_KEY_Delete GDK_Delete
48#endif 48#endif
49 49
50/**
51 * Handle for our main loop.
52 */
53struct GNUNET_GTK_MainLoop;
54
55
56
50/* ****************** Initialization *************** */ 57/* ****************** Initialization *************** */
51 58
52/** 59/**
@@ -122,15 +129,18 @@ GNUNET_GTK_get_tree_string (GtkTreeView *treeview,
122 GtkTreePath *treepath, 129 GtkTreePath *treepath,
123 guint column, gchar ** value); 130 guint column, gchar ** value);
124 131
132
125/** 133/**
126 * Create our tray icon. 134 * Create our tray icon.
127 * 135 *
136 * @param ml main loop
128 * @param main handle to the main window (show or hide) 137 * @param main handle to the main window (show or hide)
129 * @param icon_name name of the tray icon file 138 * @param icon_name name of the tray icon file
130 * @param tooltip tooltip for the tray icon 139 * @param tooltip tooltip for the tray icon
131 */ 140 */
132void 141void
133GNUNET_GTK_tray_icon_create (GtkWindow * main, const char *icon_name, 142GNUNET_GTK_tray_icon_create (struct GNUNET_GTK_MainLoop *ml,
143 GtkWindow * main, const char *icon_name,
134 const char *tooltip); 144 const char *tooltip);
135 145
136 146
@@ -174,11 +184,6 @@ GNUNET_FS_GTK_remove_treestore_subtree (GtkTreeStore * ts,
174 184
175/* ******************* main loop ***************** */ 185/* ******************* main loop ***************** */
176 186
177/**
178 * Handle for our main loop.
179 */
180struct GNUNET_GTK_MainLoop;
181
182 187
183/** 188/**
184 * Initialize the main loop. 189 * Initialize the main loop.