[gtk+/parser: 7/57] cssprovider: Move private struct definition to header
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/parser: 7/57] cssprovider: Move private struct definition to header
- Date: Mon, 11 Apr 2011 14:56:45 +0000 (UTC)
commit 5ad68deb7baee6c083ae01d2654c6a33cca7dacf
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 de29766..bb732c9 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]