about summary refs log tree commit diff stats
path: root/src/window_list.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/window_list.c')
-rw-r--r--src/window_list.c68
1 files changed, 0 insertions, 68 deletions
diff --git a/src/window_list.c b/src/window_list.c
index ff040d63..2892cc53 100644
--- a/src/window_list.c
+++ b/src/window_list.c
@@ -167,74 +167,6 @@ wins_get_current(void)
     }
 }
 
-ProfChatWin *
-wins_get_current_chat(void)
-{
-    if (windows) {
-        ProfWin *window = g_hash_table_lookup(windows, GINT_TO_POINTER(current));
-        if (window) {
-            ProfChatWin *chatwin = (ProfChatWin*)window;
-            assert(chatwin->memcheck == PROFCHATWIN_MEMCHECK);
-            return chatwin;
-        } else {
-            return NULL;
-        }
-    } else {
-        return NULL;
-    }
-}
-
-ProfMucWin *
-wins_get_current_muc(void)
-{
-    if (windows) {
-        ProfWin *window = g_hash_table_lookup(windows, GINT_TO_POINTER(current));
-        if (window) {
-            ProfMucWin *mucwin = (ProfMucWin*)window;
-            assert(mucwin->memcheck == PROFMUCWIN_MEMCHECK);
-            return mucwin;
-        } else {
-            return NULL;
-        }
-    } else {
-        return NULL;
-    }
-}
-
-ProfPrivateWin *
-wins_get_current_private(void)
-{
-    if (windows) {
-        ProfWin *window = g_hash_table_lookup(windows, GINT_TO_POINTER(current));
-        if (window) {
-            ProfPrivateWin *privatewin = (ProfPrivateWin*)window;
-            assert(privatewin->memcheck == PROFPRIVATEWIN_MEMCHECK);
-            return privatewin;
-        } else {
-            return NULL;
-        }
-    } else {
-        return NULL;
-    }
-}
-
-ProfMucConfWin *
-wins_get_current_muc_conf(void)
-{
-    if (windows) {
-        ProfWin *window = g_hash_table_lookup(windows, GINT_TO_POINTER(current));
-        if (window) {
-            ProfMucConfWin *confwin = (ProfMucConfWin*)window;
-            assert(confwin->memcheck == PROFCONFWIN_MEMCHECK);
-            return confwin;
-        } else {
-            return NULL;
-        }
-    } else {
-        return NULL;
-    }
-}
-
 GList *
 wins_get_nums(void)
 {