[gnome-builder] preferences: move page implementation to private header
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] preferences: move page implementation to private header
- Date: Sun, 18 Sep 2016 03:23:50 +0000 (UTC)
commit 67446d037c20804f17500fd9e07b9e33438623b0
Author: Christian Hergert <chergert redhat com>
Date: Sat Sep 17 11:39:58 2016 -0700
preferences: move page implementation to private header
We'll need access to this later to simplify a bunch of code in the
preferences engine.
libide/preferences/ide-preferences-page-private.h | 9 +++++++++
libide/preferences/ide-preferences-page.c | 11 -----------
2 files changed, 9 insertions(+), 11 deletions(-)
---
diff --git a/libide/preferences/ide-preferences-page-private.h
b/libide/preferences/ide-preferences-page-private.h
index 80e4653..219febd 100644
--- a/libide/preferences/ide-preferences-page-private.h
+++ b/libide/preferences/ide-preferences-page-private.h
@@ -20,10 +20,19 @@
#define IDE_PREFERENCES_PAGE_PRIVATE_H
#include "preferences/ide-preferences-page.h"
+#include "preferences/ide-preferences-flow-box.h"
#include "search/ide-pattern-spec.h"
G_BEGIN_DECLS
+struct _IdePreferencesPage
+{
+ GtkBin parent_instance;
+ gint priority;
+ IdePreferencesFlowBox *box;
+ GHashTable *groups_by_name;
+};
+
void _ide_preferences_page_set_map (IdePreferencesPage *self,
GHashTable *map);
void _ide_preferences_page_refilter (IdePreferencesPage *self,
diff --git a/libide/preferences/ide-preferences-page.c b/libide/preferences/ide-preferences-page.c
index 6c76012..3a8e916 100644
--- a/libide/preferences/ide-preferences-page.c
+++ b/libide/preferences/ide-preferences-page.c
@@ -18,22 +18,11 @@
#include <glib/gi18n.h>
-#include "ide-preferences-flow-box.h"
#include "ide-preferences-group.h"
#include "ide-preferences-group-private.h"
#include "ide-preferences-page.h"
#include "ide-preferences-page-private.h"
-struct _IdePreferencesPage
-{
- GtkBin parent_instance;
-
- gint priority;
-
- IdePreferencesFlowBox *box;
- GHashTable *groups_by_name;
-};
-
enum {
PROP_0,
PROP_PRIORITY,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]