summaryrefslogtreecommitdiff
path: root/gtk/gtkhruler.c
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2001-05-22 00:11:10 +0000
committerAlexander Larsson <alexl@src.gnome.org>2001-05-22 00:11:10 +0000
commit811543ce37bc04790da819fd33f35e308d9bb1b0 (patch)
treef0268dc25f289036d0363d14638f9e24d4918f9c /gtk/gtkhruler.c
parent479810cac75f31669b8712bce944d73cddf41253 (diff)
downloadgtk+-811543ce37bc04790da819fd33f35e308d9bb1b0.tar.gz
Added properties. Based on patch by Lee Mallabone.
2001-05-21 Alexander Larsson <alexl@redhat.com> * gtk/gtkfontsel.c: Added properties. Based on patch by Lee Mallabone. * gtk/gtkruler.c: * gtk/gtkhruler.c: * gtk/gtkvruler.c: * gtk/gtktext.c: * gtk/gtktextview.c: Converted GtkArg to GParam. Based on patches by John Margaglione. * tests/Makefile.am: * tests/testtext.c: Add a property editor to testtext.
Diffstat (limited to 'gtk/gtkhruler.c')
-rw-r--r--gtk/gtkhruler.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/gtkhruler.c b/gtk/gtkhruler.c
index c220d14f79..1546354b7f 100644
--- a/gtk/gtkhruler.c
+++ b/gtk/gtkhruler.c
@@ -122,6 +122,7 @@ gtk_hruler_motion_notify (GtkWidget *widget,
x = event->x;
ruler->position = ruler->lower + ((ruler->upper - ruler->lower) * x) / widget->allocation.width;
+ g_object_notify (G_OBJECT (ruler), "position");
/* Make sure the ruler has been allocated already */
if (ruler->backing_store != NULL)