forked from AuroraMiddleware/gtk
care for the posssibility that someone destroys the entry on the
Fri Jul 17 05:30:47 1998 Tim Janik <timj@gtk.org> * gtk/gtkentry.c (gtk_entry_key_press): care for the posssibility that someone destroys the entry on the ::activate signal.
This commit is contained in:
parent
ca17982ed2
commit
ca7b223bf0
@ -1,3 +1,8 @@
|
||||
Fri Jul 17 05:30:47 1998 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtk/gtkentry.c (gtk_entry_key_press): care for the posssibility that
|
||||
someone destroys the entry on the ::activate signal.
|
||||
|
||||
Fri Jul 17 01:21:32 1998 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtk/gtkarrow.c (gtk_arrow_expose): use misc->xpad for x calculation
|
||||
|
@ -1,3 +1,8 @@
|
||||
Fri Jul 17 05:30:47 1998 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtk/gtkentry.c (gtk_entry_key_press): care for the posssibility that
|
||||
someone destroys the entry on the ::activate signal.
|
||||
|
||||
Fri Jul 17 01:21:32 1998 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtk/gtkarrow.c (gtk_arrow_expose): use misc->xpad for x calculation
|
||||
|
@ -1,3 +1,8 @@
|
||||
Fri Jul 17 05:30:47 1998 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtk/gtkentry.c (gtk_entry_key_press): care for the posssibility that
|
||||
someone destroys the entry on the ::activate signal.
|
||||
|
||||
Fri Jul 17 01:21:32 1998 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtk/gtkarrow.c (gtk_arrow_expose): use misc->xpad for x calculation
|
||||
|
@ -1,3 +1,8 @@
|
||||
Fri Jul 17 05:30:47 1998 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtk/gtkentry.c (gtk_entry_key_press): care for the posssibility that
|
||||
someone destroys the entry on the ::activate signal.
|
||||
|
||||
Fri Jul 17 01:21:32 1998 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtk/gtkarrow.c (gtk_arrow_expose): use misc->xpad for x calculation
|
||||
|
@ -1,3 +1,8 @@
|
||||
Fri Jul 17 05:30:47 1998 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtk/gtkentry.c (gtk_entry_key_press): care for the posssibility that
|
||||
someone destroys the entry on the ::activate signal.
|
||||
|
||||
Fri Jul 17 01:21:32 1998 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtk/gtkarrow.c (gtk_arrow_expose): use misc->xpad for x calculation
|
||||
|
@ -1,3 +1,8 @@
|
||||
Fri Jul 17 05:30:47 1998 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtk/gtkentry.c (gtk_entry_key_press): care for the posssibility that
|
||||
someone destroys the entry on the ::activate signal.
|
||||
|
||||
Fri Jul 17 01:21:32 1998 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtk/gtkarrow.c (gtk_arrow_expose): use misc->xpad for x calculation
|
||||
|
@ -1,3 +1,8 @@
|
||||
Fri Jul 17 05:30:47 1998 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtk/gtkentry.c (gtk_entry_key_press): care for the posssibility that
|
||||
someone destroys the entry on the ::activate signal.
|
||||
|
||||
Fri Jul 17 01:21:32 1998 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtk/gtkarrow.c (gtk_arrow_expose): use misc->xpad for x calculation
|
||||
|
@ -1131,7 +1131,12 @@ gtk_entry_key_press (GtkWidget *widget,
|
||||
break;
|
||||
}
|
||||
|
||||
if (return_val && (editable->current_pos != initial_pos))
|
||||
/* since we emit signals from within the above code,
|
||||
* the widget might already be destroyed or at least
|
||||
* unrealized.
|
||||
*/
|
||||
if (GTK_WIDGET_REALIZED (editable) &&
|
||||
return_val && (editable->current_pos != initial_pos))
|
||||
{
|
||||
if (extend_selection)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user