[gnome-power-manager] inhibit-applet: Add missing include and re-enable deprecated GDK functions
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-power-manager] inhibit-applet: Add missing include and re-enable deprecated GDK functions
- Date: Wed, 22 Sep 2010 15:34:50 +0000 (UTC)
commit 3c825289450f6286b35ee20881572996b15f7279
Author: Martin Pitt <martin pitt ubuntu com>
Date: Thu Aug 19 17:12:01 2010 +0200
inhibit-applet: Add missing include and re-enable deprecated GDK functions
inhibit-applet suffered the same problem as brightness-applet, so apply the
corresponding changes from commits eb407c4f and 81c4c85f.
applets/inhibit/inhibit-applet.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/applets/inhibit/inhibit-applet.c b/applets/inhibit/inhibit-applet.c
index dc7d080..9676788 100644
--- a/applets/inhibit/inhibit-applet.c
+++ b/applets/inhibit/inhibit-applet.c
@@ -25,7 +25,11 @@
# include <config.h>
#endif
+/* FIXME: gdk_gc_* needs porting to cairo */
+#undef GDK_DISABLE_DEPRECATED
+
#include <stdio.h>
+#include <stdlib.h>
#include <string.h>
#include <panel-applet.h>
#include <gtk/gtk.h>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]