+Thu Jan 15 00:44:27 PST 1998 Jay Painter <jpaint@serv.net>
+ * gtk/gtkentry.[ch]: Change window cursor to "I"
+ * gtk/gtkpane.[ch]: Cleared up a tiny memory leak from not destroying the
+ cursor
+
Tue Jan 13 07:30:02 PST 1998 Jay Painter <jpaint@serv.net>
* gtk/gtkclist.c: minor updates
* gtk/gtktext.c: you can type in it! It should also seg-fault *MUCH* less now,
+Thu Jan 15 00:44:27 PST 1998 Jay Painter <jpaint@serv.net>
+ * gtk/gtkentry.[ch]: Change window cursor to "I"
+ * gtk/gtkpane.[ch]: Cleared up a tiny memory leak from not destroying the
+ cursor
+
Tue Jan 13 07:30:02 PST 1998 Jay Painter <jpaint@serv.net>
* gtk/gtkclist.c: minor updates
* gtk/gtktext.c: you can type in it! It should also seg-fault *MUCH* less now,
+Thu Jan 15 00:44:27 PST 1998 Jay Painter <jpaint@serv.net>
+ * gtk/gtkentry.[ch]: Change window cursor to "I"
+ * gtk/gtkpane.[ch]: Cleared up a tiny memory leak from not destroying the
+ cursor
+
Tue Jan 13 07:30:02 PST 1998 Jay Painter <jpaint@serv.net>
* gtk/gtkclist.c: minor updates
* gtk/gtktext.c: you can type in it! It should also seg-fault *MUCH* less now,
+Thu Jan 15 00:44:27 PST 1998 Jay Painter <jpaint@serv.net>
+ * gtk/gtkentry.[ch]: Change window cursor to "I"
+ * gtk/gtkpane.[ch]: Cleared up a tiny memory leak from not destroying the
+ cursor
+
Tue Jan 13 07:30:02 PST 1998 Jay Painter <jpaint@serv.net>
* gtk/gtkclist.c: minor updates
* gtk/gtktext.c: you can type in it! It should also seg-fault *MUCH* less now,
+Thu Jan 15 00:44:27 PST 1998 Jay Painter <jpaint@serv.net>
+ * gtk/gtkentry.[ch]: Change window cursor to "I"
+ * gtk/gtkpane.[ch]: Cleared up a tiny memory leak from not destroying the
+ cursor
+
Tue Jan 13 07:30:02 PST 1998 Jay Painter <jpaint@serv.net>
* gtk/gtkclist.c: minor updates
* gtk/gtktext.c: you can type in it! It should also seg-fault *MUCH* less now,
+Thu Jan 15 00:44:27 PST 1998 Jay Painter <jpaint@serv.net>
+ * gtk/gtkentry.[ch]: Change window cursor to "I"
+ * gtk/gtkpane.[ch]: Cleared up a tiny memory leak from not destroying the
+ cursor
+
Tue Jan 13 07:30:02 PST 1998 Jay Painter <jpaint@serv.net>
* gtk/gtkclist.c: minor updates
* gtk/gtktext.c: you can type in it! It should also seg-fault *MUCH* less now,
+Thu Jan 15 00:44:27 PST 1998 Jay Painter <jpaint@serv.net>
+ * gtk/gtkentry.[ch]: Change window cursor to "I"
+ * gtk/gtkpane.[ch]: Cleared up a tiny memory leak from not destroying the
+ cursor
+
Tue Jan 13 07:30:02 PST 1998 Jay Painter <jpaint@serv.net>
* gtk/gtkclist.c: minor updates
* gtk/gtktext.c: you can type in it! It should also seg-fault *MUCH* less now,
attributes.y = widget->style->klass->ythickness + INNER_BORDER;
attributes.width = widget->allocation.width - attributes.x * 2;
attributes.height = widget->allocation.height - attributes.y * 2;
+ attributes.cursor = entry->cursor = gdk_cursor_new (GDK_XTERM);
+ attributes_mask |= GDK_WA_CURSOR;
entry->text_area = gdk_window_new (widget->window, &attributes, attributes_mask);
gdk_window_set_user_data (entry->text_area, entry);
{
gdk_window_set_user_data (entry->text_area, NULL);
gdk_window_destroy (entry->text_area);
+ gdk_cursor_destroy (entry->cursor);
}
if (widget->window)
{
GdkWindow *text_area;
GdkPixmap *backing_pixmap;
+ GdkCursor *cursor;
gchar *text;
guint16 text_size;
attributes.window_type = GDK_WINDOW_CHILD;
attributes.visual = gtk_widget_get_visual (widget);
attributes.colormap = gtk_widget_get_colormap (widget);
- attributes.cursor = gdk_cursor_new(GDK_CROSS);
+ attributes.cursor = paned->cursor = gdk_cursor_new (GDK_CROSS);
attributes.event_mask = gtk_widget_get_events (widget);
attributes.event_mask |= (GDK_EXPOSURE_MASK |
GDK_BUTTON_PRESS_MASK |
if (paned->xor_gc)
gdk_gc_destroy (paned->xor_gc);
+
if (paned->handle)
- gdk_window_destroy (paned->handle);
+ {
+ gdk_window_destroy (paned->handle);
+ gdk_cursor_destroy (paned->cursor);
+ }
paned->handle = NULL;
+ paned->cursor = NULL;
widget->window = NULL;
}
GtkWidget *child2;
GdkWindow *handle;
+ GdkCursor *cursor;
GdkRectangle groove_rectangle;
GdkGC *xor_gc;