From 78218ceccf2cba3b86445b89200f4e07034ef265 Mon Sep 17 00:00:00 2001 From: Tim Janik Date: Fri, 20 Jun 2008 11:00:30 +0000 Subject: [PATCH] Seal GtkTreeModelSort * gtk/gtktreemodelsort.h: include gdkconfig.h to get GSEAL defined, seal all public member fields. svn path=/trunk/; revision=20518 --- gtk/gtktreemodelsort.h | 33 +++++++++++++++++---------------- 1 file changed, 17 insertions(+), 16 deletions(-) diff --git a/gtk/gtktreemodelsort.h b/gtk/gtktreemodelsort.h index 64b7acfad6..55f7c8268f 100644 --- a/gtk/gtktreemodelsort.h +++ b/gtk/gtktreemodelsort.h @@ -24,6 +24,7 @@ #ifndef __GTK_TREE_MODEL_SORT_H__ #define __GTK_TREE_MODEL_SORT_H__ +#include #include #include @@ -44,28 +45,28 @@ struct _GtkTreeModelSort GObject parent; /* < private > */ - gpointer root; - gint stamp; - guint child_flags; - GtkTreeModel *child_model; - gint zero_ref_count; + gpointer GSEAL (root); + gint GSEAL (stamp); + guint GSEAL (child_flags); + GtkTreeModel *GSEAL (child_model); + gint GSEAL (zero_ref_count); /* sort information */ - GList *sort_list; - gint sort_column_id; - GtkSortType order; + GList *GSEAL (sort_list); + gint GSEAL (sort_column_id); + GtkSortType GSEAL (order); /* default sort */ - GtkTreeIterCompareFunc default_sort_func; - gpointer default_sort_data; - GDestroyNotify default_sort_destroy; + GtkTreeIterCompareFunc GSEAL (default_sort_func); + gpointer GSEAL (default_sort_data); + GtkDestroyNotify GSEAL (default_sort_destroy); /* signal ids */ - guint changed_id; - guint inserted_id; - guint has_child_toggled_id; - guint deleted_id; - guint reordered_id; + guint GSEAL (changed_id); + guint GSEAL (inserted_id); + guint GSEAL (has_child_toggled_id); + guint GSEAL (deleted_id); + guint GSEAL (reordered_id); }; struct _GtkTreeModelSortClass