diff options
author | Alexander Larsson <alexl@redhat.com> | 2001-05-22 00:11:10 +0000 |
---|---|---|
committer | Alexander Larsson <alexl@src.gnome.org> | 2001-05-22 00:11:10 +0000 |
commit | 811543ce37bc04790da819fd33f35e308d9bb1b0 (patch) | |
tree | f0268dc25f289036d0363d14638f9e24d4918f9c /gtk/gtkvruler.c | |
parent | 479810cac75f31669b8712bce944d73cddf41253 (diff) | |
download | gtk+-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/gtkvruler.c')
-rw-r--r-- | gtk/gtkvruler.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/gtkvruler.c b/gtk/gtkvruler.c index e22cfb30dc..4635340e3a 100644 --- a/gtk/gtkvruler.c +++ b/gtk/gtkvruler.c @@ -122,6 +122,7 @@ gtk_vruler_motion_notify (GtkWidget *widget, y = event->y; ruler->position = ruler->lower + ((ruler->upper - ruler->lower) * y) / widget->allocation.height; + g_object_notify (G_OBJECT (ruler), "position"); /* Make sure the ruler has been allocated already */ if (ruler->backing_store != NULL) |