summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Janik <timj@src.gnome.org>2008-06-20 11:08:57 +0000
committerTim Janik <timj@src.gnome.org>2008-06-20 11:08:57 +0000
commit50cd12d394d65eba86eca93b8bb5b8495d6aaaaa (patch)
tree84e027d4c97b48dd14be1ca0a05037b96912a193
parent7d5da3f8cc6a88002c610a6c558d494f0c2fe6c6 (diff)
downloadgtk+-50cd12d394d65eba86eca93b8bb5b8495d6aaaaa.tar.gz
Seal GtkRange
svn path=/trunk/; revision=20612
-rw-r--r--gtk/gtkrange.c2
-rw-r--r--gtk/gtkrange.h46
2 files changed, 24 insertions, 24 deletions
diff --git a/gtk/gtkrange.c b/gtk/gtkrange.c
index 65c0d74633..a77549b964 100644
--- a/gtk/gtkrange.c
+++ b/gtk/gtkrange.c
@@ -330,7 +330,7 @@ gtk_range_class_init (GtkRangeClass *class)
G_TYPE_BOOLEAN, 2,
GTK_TYPE_SCROLL_TYPE,
G_TYPE_DOUBLE);
-
+
g_object_class_install_property (gobject_class,
PROP_UPDATE_POLICY,
g_param_spec_enum ("update-policy",
diff --git a/gtk/gtkrange.h b/gtk/gtkrange.h
index c7142d31e4..68deba06ce 100644
--- a/gtk/gtkrange.h
+++ b/gtk/gtkrange.h
@@ -58,48 +58,48 @@ struct _GtkRange
{
GtkWidget widget;
- GtkAdjustment *adjustment;
- GtkUpdateType update_policy;
- guint inverted : 1;
+ GtkAdjustment *GSEAL (adjustment);
+ GtkUpdateType GSEAL (update_policy);
+ guint GSEAL (inverted : 1);
/*< protected >*/
- guint flippable : 1;
+ guint GSEAL (flippable : 1);
/* Steppers are: < > ---- < >
* a b c d
*/
- guint has_stepper_a : 1;
- guint has_stepper_b : 1;
- guint has_stepper_c : 1;
- guint has_stepper_d : 1;
+ guint GSEAL (has_stepper_a : 1);
+ guint GSEAL (has_stepper_b : 1);
+ guint GSEAL (has_stepper_c : 1);
+ guint GSEAL (has_stepper_d : 1);
- guint need_recalc : 1;
+ guint GSEAL (need_recalc : 1);
- guint slider_size_fixed : 1;
+ guint GSEAL (slider_size_fixed : 1);
- gint min_slider_size;
+ gint GSEAL (min_slider_size);
- GtkOrientation orientation;
+ GtkOrientation GSEAL (orientation);
/* Area of entire stepper + trough assembly in widget->window coords */
- GdkRectangle range_rect;
+ GdkRectangle GSEAL (range_rect);
/* Slider range along the long dimension, in widget->window coords */
- gint slider_start, slider_end;
+ gint GSEAL (slider_start), GSEAL (slider_end);
/* Round off value to this many digits, -1 for no rounding */
- gint round_digits;
+ gint GSEAL (round_digits);
/*< private >*/
- guint trough_click_forward : 1; /* trough click was on the forward side of slider */
- guint update_pending : 1; /* need to emit value_changed */
- GtkRangeLayout *layout;
- GtkRangeStepTimer *timer;
- gint slide_initial_slider_position;
- gint slide_initial_coordinate;
- guint update_timeout_id;
- GdkWindow *event_window;
+ guint GSEAL (trough_click_forward : 1); /* trough click was on the forward side of slider */
+ guint GSEAL (update_pending : 1); /* need to emit value_changed */
+ GtkRangeLayout *GSEAL (layout);
+ GtkRangeStepTimer *GSEAL (timer);
+ gint GSEAL (slide_initial_slider_position);
+ gint GSEAL (slide_initial_coordinate);
+ guint GSEAL (update_timeout_id);
+ GdkWindow *GSEAL (event_window);
};
struct _GtkRangeClass