]> git.0d.be Git - empathy.git/blobdiff - libempathy/empathy-chatroom.c
libempathy-gtk: fix uninitialized variable
[empathy.git] / libempathy / empathy-chatroom.c
index bfa3280de7b90457590d189f1814b6d520d97b3b..b186b2dd2aef8f4a63095413af0bd007f0a60c2d 100644 (file)
  */
 
 #include "config.h"
+#include "empathy-chatroom.h"
 
-#include <string.h>
-
-#include <glib.h>
+#include <tp-account-widgets/tpaw-utils.h>
 
-#include "empathy-chatroom.h"
 #include "empathy-utils.h"
 
 #define GET_PRIV(obj) EMPATHY_GET_PRIV (obj, EmpathyChatroom)
@@ -417,7 +415,7 @@ empathy_chatroom_get_name (EmpathyChatroom *chatroom)
 
        priv = GET_PRIV (chatroom);
 
-       if (EMP_STR_EMPTY (priv->name)) {
+       if (TPAW_STR_EMPTY (priv->name)) {
                return priv->room;
        }