[gedit-code-assistance] Do not register types dynamically



commit 8bd0b948fe01e195a767e10dd1f2ab712b64d370
Author: Jesse van den Kieboom <jesse vandenkieboom epfl ch>
Date:   Tue Mar 13 20:49:03 2012 +0100

    Do not register types dynamically
    
    Normally we should register them in the type module, however the
    problem is that our interfaces are going to be consumed in python.
    pygobject currently uses add_interface_static. Since our interfaces
    would be defined dynamically, this completely crashes gedit. Oh well.

 src/gcp-plugin.vala |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/src/gcp-plugin.vala b/src/gcp-plugin.vala
index 99189fa..d7bfa1b 100644
--- a/src/gcp-plugin.vala
+++ b/src/gcp-plugin.vala
@@ -17,7 +17,6 @@
  * along with gedit-code-assistant.  If not, see <http://www.gnu.org/licenses/>.
  */
 
-[ModuleInit]
 internal void peas_register_types (TypeModule module)
 {
 	Peas.ObjectModule mod = module as Peas.ObjectModule;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]