[gedit-plugins] drawspaces: no need for public private in app activatable
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit-plugins] drawspaces: no need for public private in app activatable
- Date: Mon, 31 Mar 2014 17:06:32 +0000 (UTC)
commit f10ac13d6e9411098d7dfaad38e2cc50da4c5d21
Author: Ignacio Casal Quinteiro <icq gnome org>
Date: Mon Mar 31 15:22:45 2014 +0200
drawspaces: no need for public private in app activatable
.../drawspaces/gedit-drawspaces-app-activatable.c | 4 ++--
.../drawspaces/gedit-drawspaces-app-activatable.h | 3 ---
2 files changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/plugins/drawspaces/gedit-drawspaces-app-activatable.c
b/plugins/drawspaces/gedit-drawspaces-app-activatable.c
index f86c93d..199cfb3 100644
--- a/plugins/drawspaces/gedit-drawspaces-app-activatable.c
+++ b/plugins/drawspaces/gedit-drawspaces-app-activatable.c
@@ -30,11 +30,11 @@
#include <glib/gi18n-lib.h>
#include <libpeas-gtk/peas-gtk-configurable.h>
-struct _GeditDrawspacesAppActivatablePrivate
+typedef struct _GeditDrawspacesAppActivatablePrivate
{
GeditApp *app;
GeditMenuExtension *menu_ext;
-};
+} GeditDrawspacesAppActivatablePrivate;
typedef struct _DrawspacesConfigureWidget DrawspacesConfigureWidget;
diff --git a/plugins/drawspaces/gedit-drawspaces-app-activatable.h
b/plugins/drawspaces/gedit-drawspaces-app-activatable.h
index 5021d39..191eaf7 100644
--- a/plugins/drawspaces/gedit-drawspaces-app-activatable.h
+++ b/plugins/drawspaces/gedit-drawspaces-app-activatable.h
@@ -34,13 +34,10 @@ G_BEGIN_DECLS
typedef struct _GeditDrawspacesAppActivatable GeditDrawspacesAppActivatable;
typedef struct _GeditDrawspacesAppActivatableClass GeditDrawspacesAppActivatableClass;
-typedef struct _GeditDrawspacesAppActivatablePrivate GeditDrawspacesAppActivatablePrivate;
struct _GeditDrawspacesAppActivatable
{
GObject parent;
-
- GeditDrawspacesAppActivatablePrivate *priv;
};
struct _GeditDrawspacesAppActivatableClass
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]