[devilspie/libwnck3: 5/6] Port to libwnck-3.0
- From: Christian Persch <chpe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [devilspie/libwnck3: 5/6] Port to libwnck-3.0
- Date: Thu, 31 May 2012 16:38:53 +0000 (UTC)
commit ef64770ae57a8c15c140108c55b9786a66e5375b
Author: Christian Persch <chpe gnome org>
Date: Thu May 31 18:25:50 2012 +0200
Port to libwnck-3.0
configure.in | 6 +++---
src/actions.c | 5 +----
src/devilspie.h | 2 +-
src/matchers.c | 4 +---
src/xutils.h | 2 +-
5 files changed, 7 insertions(+), 12 deletions(-)
---
diff --git a/configure.in b/configure.in
index a7d33d4..47d5431 100644
--- a/configure.in
+++ b/configure.in
@@ -22,10 +22,10 @@ AM_GLIB_GNU_GETTEXT
# Check that we actually have the libraries required to build
PKG_CHECK_MODULES(WNCK,
glib-2.0 >= 2.10.0
- gdk-2.0
- gdk-x11-2.0
+ gdk-3.0
+ gdk-x11-3.0
x11
- libwnck-1.0 >= 2.12.0)
+ libwnck-3.0 >= 3.0.0)
AC_SUBST(WNCK_CFLAGS)
AC_SUBST(WNCK_LIBS)
diff --git a/src/actions.c b/src/actions.c
index e815cf6..d72da58 100644
--- a/src/actions.c
+++ b/src/actions.c
@@ -17,10 +17,7 @@
*/
#include <config.h>
-#include <libwnck/application.h>
-#include <libwnck/class-group.h>
-#include <libwnck/workspace.h>
-#include <libwnck/window.h>
+#include <libwnck/libwnck.h>
#include <glib.h>
#include <glib/gi18n.h>
#include "e-sexp.h"
diff --git a/src/devilspie.h b/src/devilspie.h
index c1a5c65..9d5e6f8 100644
--- a/src/devilspie.h
+++ b/src/devilspie.h
@@ -16,7 +16,7 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
-#include <libwnck/window.h>
+#include <libwnck/libwnck.h>
/* Global state */
diff --git a/src/matchers.c b/src/matchers.c
index 017a23d..906e698 100644
--- a/src/matchers.c
+++ b/src/matchers.c
@@ -16,9 +16,7 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
-#include <libwnck/application.h>
-#include <libwnck/class-group.h>
-#include <libwnck/window.h>
+#include <libwnck/libwnck.h>
#include <glib.h>
#include <glib/gi18n.h>
#include "e-sexp.h"
diff --git a/src/xutils.h b/src/xutils.h
index decc458..05fd080 100644
--- a/src/xutils.h
+++ b/src/xutils.h
@@ -26,7 +26,7 @@
#include <gdk/gdk.h>
#include <gdk/gdkx.h>
-#include "libwnck/window.h"
+#include <libwnck/libwnck.h>
G_BEGIN_DECLS
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]