diff options
author | Owen Taylor <otaylor@redhat.com> | 1998-11-16 23:18:06 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 1998-11-16 23:18:06 +0000 |
commit | 7e44eced8c7c01f60a1135f7de6bd2215d5a3967 (patch) | |
tree | da3d855166a91366d39300791ade23b5b765b9e7 /gtk/gtkfixed.c | |
parent | d8ab8e0e7d400f8ab41709191e25e42196983861 (diff) | |
download | gtk+-7e44eced8c7c01f60a1135f7de6bd2215d5a3967.tar.gz |
Optimizations for moving point n places. (gtk-mailund-980718-0, Thomas
Mon Nov 16 15:10:33 1998 Owen Taylor <otaylor@redhat.com>
* gtk/gtktext.c: Optimizations for moving point n
places.
(gtk-mailund-980718-0, Thomas Mailund Jensen <mailund@daimi.aau.dk>)
* gtk/gtkfixed.c: Removed gtk_fixed_umap, which was
broken. (GtkWidget's default unmap handler should work fine).
Pointed out by Patrice Fortier <Patrice.Fortier@aquarel.fr>
Diffstat (limited to 'gtk/gtkfixed.c')
-rw-r--r-- | gtk/gtkfixed.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/gtk/gtkfixed.c b/gtk/gtkfixed.c index 47c9d01de2..799d9159d2 100644 --- a/gtk/gtkfixed.c +++ b/gtk/gtkfixed.c @@ -22,7 +22,6 @@ static void gtk_fixed_class_init (GtkFixedClass *klass); static void gtk_fixed_init (GtkFixed *fixed); static void gtk_fixed_map (GtkWidget *widget); -static void gtk_fixed_unmap (GtkWidget *widget); static void gtk_fixed_realize (GtkWidget *widget); static void gtk_fixed_size_request (GtkWidget *widget, GtkRequisition *requisition); @@ -87,7 +86,6 @@ gtk_fixed_class_init (GtkFixedClass *class) parent_class = gtk_type_class (GTK_TYPE_CONTAINER); widget_class->map = gtk_fixed_map; - widget_class->unmap = gtk_fixed_unmap; widget_class->realize = gtk_fixed_realize; widget_class->size_request = gtk_fixed_size_request; widget_class->size_allocate = gtk_fixed_size_allocate; @@ -215,15 +213,6 @@ gtk_fixed_map (GtkWidget *widget) } static void -gtk_fixed_unmap (GtkWidget *widget) -{ - g_return_if_fail (widget != NULL); - g_return_if_fail (GTK_IS_FIXED (widget)); - - GTK_WIDGET_UNSET_FLAGS (widget, GTK_MAPPED); -} - -static void gtk_fixed_realize (GtkWidget *widget) { GdkWindowAttr attributes; |