*/
#include "config.h"
+#include "empathy-chatroom.h"
-#include <string.h>
-
-#include <glib.h>
-#include <telepathy-glib/util.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)
g_object_unref (priv->account);
g_free (priv->room);
g_free (priv->name);
+ g_free (priv->subject);
(G_OBJECT_CLASS (empathy_chatroom_parent_class)->finalize) (object);
}
const GValue *value,
GParamSpec *pspec)
{
- EmpathyChatroomPriv *priv;
-
- priv = GET_PRIV (object);
-
switch (param_id) {
case PROP_ACCOUNT:
empathy_chatroom_set_account (EMPATHY_CHATROOM (object),
priv = GET_PRIV (chatroom);
- if (EMP_STR_EMPTY (priv->name)) {
+ if (TPAW_STR_EMPTY (priv->name)) {
return priv->room;
}