[cairo-compmgr] trying to write a plugin

[ Thread Index | Date Index | More lists.tuxfamily.org/cairo-compmgr Archives ]


Hi,

I'm trying to write a plugin but I'm having no success.

Attached is a patch with the modifications to files controlled by git
and the tarball must be unpacked in the plugins folders.

Can you tell me what is wrong with it Nicolas? Why this plugin is
never initialized and it's functions never called?

I think that something very stupid is preventing this to work, since I
copied the base code from the menu-animation plugin, change the names
a bit the code.

Best regards,
Carlos.
diff --git a/configure.ac b/configure.ac
index 04d3734..768c4db 100644
--- a/configure.ac
+++ b/configure.ac
@@ -111,6 +111,7 @@ plugins/opacity/Makefile
 plugins/fade/Makefile
 plugins/freeze/Makefile
 plugins/menu-animation/Makefile
+plugins/magnifier/Makefile
 data/Makefile
 data/cairo-compmgr.desktop.in
 ])
diff --git a/plugins/Makefile.am b/plugins/Makefile.am
index 75fedc5..e792782 100644
--- a/plugins/Makefile.am
+++ b/plugins/Makefile.am
@@ -4,7 +4,8 @@ SUBDIRS = \
 	opacity\
     fade \
     freeze \
-    menu-animation
+    menu-animation \
+	magnifier
 
 ## File created by the gnome-build tools
 
diff --git a/po/Makefile.in.in b/po/Makefile.in.in
diff --git a/src/ccm-screen.c b/src/ccm-screen.c
diff --git a/src/ccm-window.c b/src/ccm-window.c

Attachment: magnifier.tar.gz
Description: GNU Zip compressed data



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/