mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 02:40:11 +00:00
invoke gtk_entry_grow_text already in this place, so the application will
Tue Feb 17 05:41:31 1998 Tim Janik <timj@gimp.org> * gtk/gtkentry.c (gtk_entry_init): invoke gtk_entry_grow_text already in this place, so the application will never see entry->text==NULL. (see also ChangeLog entry from Tue Feb 11 1997 on this). also i added some blurb about recent changes to the NEWS file, and updated the TODO.
This commit is contained in:
parent
a303493882
commit
b5cb66dc35
@ -1,5 +1,9 @@
|
||||
Tue Feb 17 05:41:31 1998 Tim Janik <timj@gimp.org>
|
||||
|
||||
* gtk/gtkentry.c (gtk_entry_init): invoke gtk_entry_grow_text already
|
||||
in this place, so the application will never see entry->text==NULL.
|
||||
(see also ChangeLog entry from Tue Feb 11 1997 on this).
|
||||
|
||||
* gtk/gtkcheckbutton.c:
|
||||
* gtk/gtkradiobutton.c:
|
||||
* gtk/gtktogglebutton.c:
|
||||
|
@ -1,5 +1,9 @@
|
||||
Tue Feb 17 05:41:31 1998 Tim Janik <timj@gimp.org>
|
||||
|
||||
* gtk/gtkentry.c (gtk_entry_init): invoke gtk_entry_grow_text already
|
||||
in this place, so the application will never see entry->text==NULL.
|
||||
(see also ChangeLog entry from Tue Feb 11 1997 on this).
|
||||
|
||||
* gtk/gtkcheckbutton.c:
|
||||
* gtk/gtkradiobutton.c:
|
||||
* gtk/gtktogglebutton.c:
|
||||
|
@ -1,5 +1,9 @@
|
||||
Tue Feb 17 05:41:31 1998 Tim Janik <timj@gimp.org>
|
||||
|
||||
* gtk/gtkentry.c (gtk_entry_init): invoke gtk_entry_grow_text already
|
||||
in this place, so the application will never see entry->text==NULL.
|
||||
(see also ChangeLog entry from Tue Feb 11 1997 on this).
|
||||
|
||||
* gtk/gtkcheckbutton.c:
|
||||
* gtk/gtkradiobutton.c:
|
||||
* gtk/gtktogglebutton.c:
|
||||
|
@ -1,5 +1,9 @@
|
||||
Tue Feb 17 05:41:31 1998 Tim Janik <timj@gimp.org>
|
||||
|
||||
* gtk/gtkentry.c (gtk_entry_init): invoke gtk_entry_grow_text already
|
||||
in this place, so the application will never see entry->text==NULL.
|
||||
(see also ChangeLog entry from Tue Feb 11 1997 on this).
|
||||
|
||||
* gtk/gtkcheckbutton.c:
|
||||
* gtk/gtkradiobutton.c:
|
||||
* gtk/gtktogglebutton.c:
|
||||
|
@ -1,5 +1,9 @@
|
||||
Tue Feb 17 05:41:31 1998 Tim Janik <timj@gimp.org>
|
||||
|
||||
* gtk/gtkentry.c (gtk_entry_init): invoke gtk_entry_grow_text already
|
||||
in this place, so the application will never see entry->text==NULL.
|
||||
(see also ChangeLog entry from Tue Feb 11 1997 on this).
|
||||
|
||||
* gtk/gtkcheckbutton.c:
|
||||
* gtk/gtkradiobutton.c:
|
||||
* gtk/gtktogglebutton.c:
|
||||
|
@ -1,5 +1,9 @@
|
||||
Tue Feb 17 05:41:31 1998 Tim Janik <timj@gimp.org>
|
||||
|
||||
* gtk/gtkentry.c (gtk_entry_init): invoke gtk_entry_grow_text already
|
||||
in this place, so the application will never see entry->text==NULL.
|
||||
(see also ChangeLog entry from Tue Feb 11 1997 on this).
|
||||
|
||||
* gtk/gtkcheckbutton.c:
|
||||
* gtk/gtkradiobutton.c:
|
||||
* gtk/gtktogglebutton.c:
|
||||
|
@ -1,5 +1,9 @@
|
||||
Tue Feb 17 05:41:31 1998 Tim Janik <timj@gimp.org>
|
||||
|
||||
* gtk/gtkentry.c (gtk_entry_init): invoke gtk_entry_grow_text already
|
||||
in this place, so the application will never see entry->text==NULL.
|
||||
(see also ChangeLog entry from Tue Feb 11 1997 on this).
|
||||
|
||||
* gtk/gtkcheckbutton.c:
|
||||
* gtk/gtkradiobutton.c:
|
||||
* gtk/gtktogglebutton.c:
|
||||
|
18
NEWS
18
NEWS
@ -1,3 +1,20 @@
|
||||
Forthcoming Changes for GTK+ 0.99.4:
|
||||
|
||||
* Reference counting revolution integrated.
|
||||
Refer to docs/refcounting.txt on this issue.
|
||||
* Additions on the signal code for querying information about certain signals,
|
||||
and pending handlers of signals.
|
||||
* Support for user signals, and major changes to internal signal handler
|
||||
handling for proper removal and invokation of after signals.
|
||||
* GtkTooltips became a true descendant of GtkObject.
|
||||
* Split up of the widget/object flags into a private and a public portion,
|
||||
consult docs/widget_system.txt on this.
|
||||
* Support for hot keys on gtk programs via gtk_key_snooper_install().
|
||||
* Reimplementation of the *_interp functions as *_full functions to provide
|
||||
simple callback functions as well.
|
||||
* Idle functions are now prioritized.
|
||||
* Clean ups and many many bug fixes by a lot of people all over the place.
|
||||
* New, long and descriptive ChangeLog entries for bored readers ;)
|
||||
|
||||
Overview of Changes in GTK+ 0.99.3:
|
||||
|
||||
@ -21,4 +38,3 @@ Overview of Changes in GTK+ 0.99.3:
|
||||
* Added switch_page signal to notebook widget
|
||||
* Documentation additions
|
||||
* Other bug fixes...
|
||||
|
||||
|
17
TODO
17
TODO
@ -21,27 +21,14 @@ BUGS
|
||||
GTK_PARENT_BASIC (similar to GTK_PARENT_SENSITIVE) flag, to prevent
|
||||
tree iterations upon every container addition.
|
||||
|
||||
* Make gtk_menu_item_set_submenu() and gtk_option_menu_set_menu() fit into
|
||||
the normal tree manner (e.g. make propagation possible).
|
||||
|
||||
* GtkOptionMenu needs to reference its curent GtkMenuItem.
|
||||
|
||||
* GtkMenu needs to properly unref() accelerator tables upon destroy.
|
||||
|
||||
* Display of GtkToggleButton is messed up if GtkContainer::container_width
|
||||
is greate than 0. GtkCheckButton and GtkRadioButton are only messed up
|
||||
if draw_indicator is FALSE.
|
||||
|
||||
* Using gtk_container_add() on an option menu to add a label works, but then
|
||||
gtk_option_menu_button_press() segfaults. This is supposed to fail while
|
||||
adding due to a g_return_if_fail (GTK_IS_MENU_ITEM (child));
|
||||
|
||||
* enforce invariants on *_RESIZE* and *_REDRAW* flags.
|
||||
|
||||
* the new fileselection dialog sometimes segfaults after subsequent
|
||||
selections from the option menu, because it destroyes the menu
|
||||
that is connected to the optionmenu, and the option menu only handles
|
||||
the deactivation, but not the destruction of it's submenu.
|
||||
this is not a bug in the fileselection code but in the optionmenu
|
||||
code.
|
||||
|
||||
|
||||
NEW FEATURES
|
||||
|
@ -372,6 +372,8 @@ gtk_entry_init (GtkEntry *entry)
|
||||
ctext_atom,
|
||||
gtk_entry_selection_handler,
|
||||
NULL);
|
||||
|
||||
gtk_entry_grow_text (entry);
|
||||
}
|
||||
|
||||
GtkWidget*
|
||||
@ -541,6 +543,7 @@ gtk_entry_finalize (GtkObject *object)
|
||||
if (entry->timer)
|
||||
gtk_timeout_remove (entry->timer);
|
||||
|
||||
entry->text_size = 0;
|
||||
if (entry->text)
|
||||
g_free (entry->text);
|
||||
entry->text = NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user