about summary refs log tree commit diff stats
path: root/src/command/commands.c
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2015-10-27 20:49:06 +0000
committerJames Booth <boothj5@gmail.com>2015-10-27 20:49:06 +0000
commit0fd616167ee86562077327695f5f32974e9f5578 (patch)
tree756b1ad577691b351d7739d75a167e0439d9d114 /src/command/commands.c
parent61bcb59ee9a131c4adb413409c0d3077f6677027 (diff)
downloadprofani-tty-0fd616167ee86562077327695f5f32974e9f5578.tar.gz
Removed ui_events module
Diffstat (limited to 'src/command/commands.c')
-rw-r--r--src/command/commands.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/command/commands.c b/src/command/commands.c
index cb68b6b9..c7cf9340 100644
--- a/src/command/commands.c
+++ b/src/command/commands.c
@@ -70,7 +70,6 @@
 #include "ui/ui.h"
 #include "window_list.h"
 #include "event/client_events.h"
-#include "event/ui_events.h"
 
 static void _update_presence(const resource_presence_t presence,
     const char *const show, gchar **args);
@@ -1498,7 +1497,7 @@ cmd_msg(ProfWin *window, const char *const command, gchar **args)
 
             ProfPrivateWin *privwin = wins_get_private(full_jid->str);
             if (!privwin) {
-                privwin = ui_ev_new_private_win(full_jid->str);
+                privwin = ui_new_private_win(full_jid->str);
             }
             ui_switch_win((ProfWin*)privwin);