[gtk+/parser: 3/79] cssprovider: Move private struct definition to header
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/parser: 3/79] cssprovider: Move private struct definition to header
- Date: Fri, 15 Apr 2011 12:37:33 +0000 (UTC)
commit 4fe58290b3459a54e9cfca4b0ad56a888d3e16e9
Author: Benjamin Otte <otte redhat com>
Date: Wed Apr 6 16:10:25 2011 +0200
cssprovider: Move private struct definition to header
consistency, improved debugging, etc
gtk/gtkcssprovider.c | 3 +--
gtk/gtkcssprovider.h | 3 ++-
2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gtk/gtkcssprovider.c b/gtk/gtkcssprovider.c
index a933157..e1729cb 100644
--- a/gtk/gtkcssprovider.c
+++ b/gtk/gtkcssprovider.c
@@ -732,7 +732,6 @@
* </refsect2>
*/
-typedef struct GtkCssProviderPrivate GtkCssProviderPrivate;
typedef struct SelectorElement SelectorElement;
typedef struct SelectorPath SelectorPath;
typedef struct SelectorStyleInfo SelectorStyleInfo;
@@ -786,7 +785,7 @@ struct SelectorStyleInfo
GHashTable *style;
};
-struct GtkCssProviderPrivate
+struct _GtkCssProviderPrivate
{
GScanner *scanner;
gchar *filename;
diff --git a/gtk/gtkcssprovider.h b/gtk/gtkcssprovider.h
index b5579bb..9763897 100644
--- a/gtk/gtkcssprovider.h
+++ b/gtk/gtkcssprovider.h
@@ -42,11 +42,12 @@ GQuark gtk_css_provider_error_quark (void);
typedef struct _GtkCssProvider GtkCssProvider;
typedef struct _GtkCssProviderClass GtkCssProviderClass;
+typedef struct _GtkCssProviderPrivate GtkCssProviderPrivate;
struct _GtkCssProvider
{
GObject parent_instance;
- gpointer priv;
+ GtkCssProviderPrivate *priv;
};
struct _GtkCssProviderClass
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]