diff options
author | Matthias Clasen <mclasen@redhat.com> | 2014-06-07 14:06:09 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2014-06-09 13:30:53 -0400 |
commit | c5c3c335a6277382f449b56a23aaf7ff34bfb894 (patch) | |
tree | 8856592ce579dc5c3d763cea16c28b6899bd4d87 /gtk/gtkaspectframe.c | |
parent | b9e7d1e8a64fe9cad428e0765870e76ce7bcb305 (diff) | |
download | gtk+-c5c3c335a6277382f449b56a23aaf7ff34bfb894.tar.gz |
GtkAspectFrame: Use G_PARAM_EXPLICIT_NOTIFY
Diffstat (limited to 'gtk/gtkaspectframe.c')
-rw-r--r-- | gtk/gtkaspectframe.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gtk/gtkaspectframe.c b/gtk/gtkaspectframe.c index 437f7293a5..84168df14d 100644 --- a/gtk/gtkaspectframe.c +++ b/gtk/gtkaspectframe.c @@ -107,28 +107,28 @@ gtk_aspect_frame_class_init (GtkAspectFrameClass *class) P_("Horizontal Alignment"), P_("X alignment of the child"), 0.0, 1.0, 0.5, - GTK_PARAM_READWRITE)); + GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY)); g_object_class_install_property (gobject_class, PROP_YALIGN, g_param_spec_float ("yalign", P_("Vertical Alignment"), P_("Y alignment of the child"), 0.0, 1.0, 0.5, - GTK_PARAM_READWRITE)); + GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY)); g_object_class_install_property (gobject_class, PROP_RATIO, g_param_spec_float ("ratio", P_("Ratio"), P_("Aspect ratio if obey_child is FALSE"), MIN_RATIO, MAX_RATIO, 1.0, - GTK_PARAM_READWRITE)); + GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY)); g_object_class_install_property (gobject_class, PROP_OBEY_CHILD, g_param_spec_boolean ("obey-child", P_("Obey child"), P_("Force aspect ratio to match that of the frame's child"), TRUE, - GTK_PARAM_READWRITE)); + GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY)); } static void |