aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2012-03-07 18:04:18 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2012-03-07 18:38:47 +0800
commit74fcb7a804d072361051faaa884ef6071edea65a (patch)
treecc908af7e7da58c322477e2fc09a97f0f58139de /libempathy-gtk
parent608d11794fbf61068c5b02954b4732f84c39449a (diff)
downloadgsoc2013-empathy-74fcb7a804d072361051faaa884ef6071edea65a.tar
gsoc2013-empathy-74fcb7a804d072361051faaa884ef6071edea65a.tar.gz
gsoc2013-empathy-74fcb7a804d072361051faaa884ef6071edea65a.tar.bz2
gsoc2013-empathy-74fcb7a804d072361051faaa884ef6071edea65a.tar.lz
gsoc2013-empathy-74fcb7a804d072361051faaa884ef6071edea65a.tar.xz
gsoc2013-empathy-74fcb7a804d072361051faaa884ef6071edea65a.tar.zst
gsoc2013-empathy-74fcb7a804d072361051faaa884ef6071edea65a.zip
Make use of new GLib macros to check API we are using
Diffstat (limited to 'libempathy-gtk')
-rw-r--r--libempathy-gtk/empathy-chat.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libempathy-gtk/empathy-chat.c b/libempathy-gtk/empathy-chat.c
index d273a3792..b98f52102 100644
--- a/libempathy-gtk/empathy-chat.c
+++ b/libempathy-gtk/empathy-chat.c
@@ -26,11 +26,12 @@
*/
#include <config.h>
+/* for GCompletion */
+#define GLIB_DISABLE_DEPRECATION_WARNINGS 1
#include <string.h>
#include <stdlib.h>
-#undef G_DISABLE_DEPRECATED /* for GCompletion */
#include <gdk/gdkkeysyms.h>
#include <glib/gi18n-lib.h>
#include <gtk/gtk.h>