diff options
author | James Booth <boothj5@gmail.com> | 2014-10-18 00:07:48 +0100 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2014-10-18 00:07:48 +0100 |
commit | 9f2f54b2a0ee51f7f946c8bd259920a1df1b52cc (patch) | |
tree | 7c7a939aaaa4b4cab31a801bb0e4bfd45c79b013 /src/ui/windows.c | |
parent | 6b6ed6a93eab0809d32a95cc7e879b5378bf7678 (diff) | |
download | profani-tty-9f2f54b2a0ee51f7f946c8bd259920a1df1b52cc.tar.gz |
Removed /duck command
Diffstat (limited to 'src/ui/windows.c')
-rw-r--r-- | src/ui/windows.c | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/src/ui/windows.c b/src/ui/windows.c index 0542f3da..c9f04cb5 100644 --- a/src/ui/windows.c +++ b/src/ui/windows.c @@ -343,25 +343,6 @@ wins_show_subwin(ProfWin *window) } gboolean -wins_duck_exists(void) -{ - GList *values = g_hash_table_get_values(windows); - GList *curr = values; - - while (curr != NULL) { - ProfWin *window = curr->data; - if (window->type == WIN_DUCK) { - g_list_free(values); - return TRUE; - } - curr = g_list_next(curr); - } - - g_list_free(values); - return FALSE; -} - -gboolean wins_xmlconsole_exists(void) { GList *values = g_hash_table_get_values(windows); @@ -585,7 +566,6 @@ wins_create_summary(void) GString *priv_string; GString *muc_string; GString *muc_config_string; - GString *duck_string; GString *xml_string; switch (window->type) @@ -663,14 +643,6 @@ wins_create_summary(void) break; - case WIN_DUCK: - duck_string = g_string_new(""); - g_string_printf(duck_string, "%d: DuckDuckGo search", ui_index); - result = g_slist_append(result, strdup(duck_string->str)); - g_string_free(duck_string, TRUE); - - break; - case WIN_XML: xml_string = g_string_new(""); g_string_printf(xml_string, "%d: XML console", ui_index); |