summaryrefslogtreecommitdiff
path: root/gtk/gtktreeviewcolumn.h
diff options
context:
space:
mode:
authorTim Janik <timj@src.gnome.org>2008-06-20 11:01:40 +0000
committerTim Janik <timj@src.gnome.org>2008-06-20 11:01:40 +0000
commit1a52d49b15fec448c2c52811b047d9cb73269876 (patch)
treef7794c079cff7e567902221610aa8211e6093ac0 /gtk/gtktreeviewcolumn.h
parenta0782663f61acb5d3ce1b4d166f2fd6d0da99e29 (diff)
downloadgtk+-1a52d49b15fec448c2c52811b047d9cb73269876.tar.gz
Seal GtkTreeViewColumn.
* gtk/gtktreeviewcolumn.h: Seal all public member fields. The button field is still troublesome. We are probably going to need an accessor for this and deprecated it immediately in GTK+ 3.0. Accessors for requested_width and resized_width can be useful, but I really consider them to be private and of not much use to applications. svn path=/trunk/; revision=20531
Diffstat (limited to 'gtk/gtktreeviewcolumn.h')
-rw-r--r--gtk/gtktreeviewcolumn.h70
1 files changed, 35 insertions, 35 deletions
diff --git a/gtk/gtktreeviewcolumn.h b/gtk/gtktreeviewcolumn.h
index 3337fc3d04..b868801580 100644
--- a/gtk/gtktreeviewcolumn.h
+++ b/gtk/gtktreeviewcolumn.h
@@ -64,51 +64,51 @@ struct _GtkTreeViewColumn
{
GtkObject parent;
- GtkWidget *tree_view;
- GtkWidget *button;
- GtkWidget *child;
- GtkWidget *arrow;
- GtkWidget *alignment;
- GdkWindow *window;
- GtkCellEditable *editable_widget;
- gfloat xalign;
- guint property_changed_signal;
- gint spacing;
+ GtkWidget *GSEAL (tree_view);
+ GtkWidget *GSEAL (button);
+ GtkWidget *GSEAL (child);
+ GtkWidget *GSEAL (arrow);
+ GtkWidget *GSEAL (alignment);
+ GdkWindow *GSEAL (window);
+ GtkCellEditable *GSEAL (editable_widget);
+ gfloat GSEAL (xalign);
+ guint GSEAL (property_changed_signal);
+ gint GSEAL (spacing);
/* Sizing fields */
/* see gtk+/doc/tree-column-sizing.txt for more information on them */
- GtkTreeViewColumnSizing column_type;
- gint requested_width;
- gint button_request;
- gint resized_width;
- gint width;
- gint fixed_width;
- gint min_width;
- gint max_width;
+ GtkTreeViewColumnSizing GSEAL (column_type);
+ gint GSEAL (requested_width);
+ gint GSEAL (button_request);
+ gint GSEAL (resized_width);
+ gint GSEAL (width);
+ gint GSEAL (fixed_width);
+ gint GSEAL (min_width);
+ gint GSEAL (max_width);
/* dragging columns */
- gint drag_x;
- gint drag_y;
+ gint GSEAL (drag_x);
+ gint GSEAL (drag_y);
- gchar *title;
- GList *cell_list;
+ gchar *GSEAL (title);
+ GList *GSEAL (cell_list);
/* Sorting */
- guint sort_clicked_signal;
- guint sort_column_changed_signal;
- gint sort_column_id;
- GtkSortType sort_order;
+ guint GSEAL (sort_clicked_signal);
+ guint GSEAL (sort_column_changed_signal);
+ gint GSEAL (sort_column_id);
+ GtkSortType GSEAL (sort_order);
/* Flags */
- guint visible : 1;
- guint resizable : 1;
- guint clickable : 1;
- guint dirty : 1;
- guint show_sort_indicator : 1;
- guint maybe_reordered : 1;
- guint reorderable : 1;
- guint use_resized_width : 1;
- guint expand : 1;
+ guint GSEAL (visible : 1);
+ guint GSEAL (resizable : 1);
+ guint GSEAL (clickable : 1);
+ guint GSEAL (dirty : 1);
+ guint GSEAL (show_sort_indicator : 1);
+ guint GSEAL (maybe_reordered : 1);
+ guint GSEAL (reorderable : 1);
+ guint GSEAL (use_resized_width : 1);
+ guint GSEAL (expand : 1);
};
struct _GtkTreeViewColumnClass