[gedit-plugins] drawspaces: make the window inherit from GObject



commit 3cccbadd29529525681f3e193726cf9f2e5e8ac1
Author: Ignacio Casal Quinteiro <icq gnome org>
Date:   Mon Mar 31 15:21:20 2014 +0200

    drawspaces: make the window inherit from GObject

 .../gedit-drawspaces-window-activatable.c          |    2 +-
 .../gedit-drawspaces-window-activatable.h          |    5 ++---
 2 files changed, 3 insertions(+), 4 deletions(-)
---
diff --git a/plugins/drawspaces/gedit-drawspaces-window-activatable.c 
b/plugins/drawspaces/gedit-drawspaces-window-activatable.c
index e866f7b..620719c 100644
--- a/plugins/drawspaces/gedit-drawspaces-window-activatable.c
+++ b/plugins/drawspaces/gedit-drawspaces-window-activatable.c
@@ -40,7 +40,7 @@ static void gedit_window_activatable_iface_init (GeditWindowActivatableInterface
 
 G_DEFINE_DYNAMIC_TYPE_EXTENDED (GeditDrawspacesWindowActivatable,
                                gedit_drawspaces_window_activatable,
-                               PEAS_TYPE_EXTENSION_BASE,
+                               G_TYPE_OBJECT,
                                0,
                                G_IMPLEMENT_INTERFACE_DYNAMIC (GEDIT_TYPE_WINDOW_ACTIVATABLE,
                                                               gedit_window_activatable_iface_init))
diff --git a/plugins/drawspaces/gedit-drawspaces-window-activatable.h 
b/plugins/drawspaces/gedit-drawspaces-window-activatable.h
index a8707a1..338c2ef 100644
--- a/plugins/drawspaces/gedit-drawspaces-window-activatable.h
+++ b/plugins/drawspaces/gedit-drawspaces-window-activatable.h
@@ -23,7 +23,6 @@
 
 #include <glib.h>
 #include <glib-object.h>
-#include <libpeas/peas-extension-base.h>
 
 G_BEGIN_DECLS
 
@@ -44,7 +43,7 @@ typedef struct _GeditDrawspacesWindowActivatableClass GeditDrawspacesWindowActiv
 
 struct _GeditDrawspacesWindowActivatable
 {
-       PeasExtensionBase parent_instance;
+       GObject parent_instance;
 
        /* private */
        GeditDrawspacesWindowActivatablePrivate *priv;
@@ -52,7 +51,7 @@ struct _GeditDrawspacesWindowActivatable
 
 struct _GeditDrawspacesWindowActivatableClass
 {
-       PeasExtensionBaseClass parent_class;
+       GObjectClass parent_class;
 };
 
 GType          gedit_drawspaces_window_activatable_get_type   (void) G_GNUC_CONST;


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