+2007-08-09 Xavier Claessens <xclaesse@gmail.com>
+
+ * libempathy/empathy-presence.c:
+ * libempathy/empathy-idle.c:
+ * configure.ac: Remove workaround for mc-enum-types.h not being
+ installed by MC and bump MC minimal version to 4.33.
+
2007-08-09 Xavier Claessens <xclaesse@gmail.com>
* libempathy-gtk/empathy-preferences.c:
GCONF_REQUIRED=1.2.0
LIBGLADE_REQUIRED=2.0.0
TELEPATHY_REQUIRED=0.0.51
-MISSION_CONTROL_REQUIRED=4.27
+MISSION_CONTROL_REQUIRED=4.33
IDT_COMPILE_WARNINGS
#include <dbus/dbus-glib.h>
#include <libtelepathy/tp-helpers.h>
+#include <libmissioncontrol/mc-enum-types.h>
#include "empathy-idle.h"
#include "empathy-utils.h"
#include "empathy-debug.h"
-/* FIXME mission-control does not install libmissioncontrol/mc-enum-types.h so
- * we have to define MC_TYPE_PRESENCE here. See sf.net bug #1768235,
- * https://sf.net/tracker/?func=detail&atid=932444&aid=1768235&group_id=190214 */
-#ifndef MC_TYPE_PRESENCE
-GType mc_presence_get_type (void) G_GNUC_CONST;
-#define MC_TYPE_PRESENCE (mc_presence_get_type())
-#endif
-
#define GET_PRIV(obj) (G_TYPE_INSTANCE_GET_PRIVATE ((obj), \
EMPATHY_TYPE_IDLE, EmpathyIdlePriv))
#include <glib/gi18n.h>
+#include <libmissioncontrol/mc-enum-types.h>
+
#include "empathy-presence.h"
#include "empathy-time.h"
-/* FIXME mission-control does not install libmissioncontrol/mc-enum-types.h so
- * we have to define MC_TYPE_PRESENCE here. See sf.net bug #1768235,
- * https://sf.net/tracker/?func=detail&atid=932444&aid=1768235&group_id=190214 */
-#ifndef MC_TYPE_PRESENCE
-GType mc_presence_get_type (void) G_GNUC_CONST;
-#define MC_TYPE_PRESENCE (mc_presence_get_type())
-#endif
-
#define GET_PRIV(obj) (G_TYPE_INSTANCE_GET_PRIVATE ((obj), EMPATHY_TYPE_PRESENCE, EmpathyPresencePriv))
typedef struct _EmpathyPresencePriv EmpathyPresencePriv;