mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-05 16:20:10 +00:00
Use gtk_widget_is_focus() instead of GTK_WIDGET_HAS_FOCUS. (#122327, Owen
Thu Nov 20 15:48:03 2003 Soeren Sandmann <sandmann@daimi.au.dk> * gtk/gtksocket.c (gtk_socket_focus): Use gtk_widget_is_focus() instead of GTK_WIDGET_HAS_FOCUS. (#122327, Owen Taylor. Reported by Frederic Crozat).
This commit is contained in:
parent
8c2e1b210f
commit
fb2e12e8c8
@ -1,3 +1,9 @@
|
||||
Thu Nov 20 15:48:03 2003 Soeren Sandmann <sandmann@daimi.au.dk>
|
||||
|
||||
* gtk/gtksocket.c (gtk_socket_focus): Use gtk_widget_is_focus()
|
||||
instead of GTK_WIDGET_HAS_FOCUS. (#122327, Owen Taylor. Reported
|
||||
by Frederic Crozat).
|
||||
|
||||
Thu Nov 20 13:10:29 GMT 2003 Tony Gale <gale@gtk.org>
|
||||
|
||||
* docs/faq/gtk-faq.sgml: Update Section 3 to 2.x
|
||||
|
@ -1,3 +1,9 @@
|
||||
Thu Nov 20 15:48:03 2003 Soeren Sandmann <sandmann@daimi.au.dk>
|
||||
|
||||
* gtk/gtksocket.c (gtk_socket_focus): Use gtk_widget_is_focus()
|
||||
instead of GTK_WIDGET_HAS_FOCUS. (#122327, Owen Taylor. Reported
|
||||
by Frederic Crozat).
|
||||
|
||||
Thu Nov 20 13:10:29 GMT 2003 Tony Gale <gale@gtk.org>
|
||||
|
||||
* docs/faq/gtk-faq.sgml: Update Section 3 to 2.x
|
||||
|
@ -1,3 +1,9 @@
|
||||
Thu Nov 20 15:48:03 2003 Soeren Sandmann <sandmann@daimi.au.dk>
|
||||
|
||||
* gtk/gtksocket.c (gtk_socket_focus): Use gtk_widget_is_focus()
|
||||
instead of GTK_WIDGET_HAS_FOCUS. (#122327, Owen Taylor. Reported
|
||||
by Frederic Crozat).
|
||||
|
||||
Thu Nov 20 13:10:29 GMT 2003 Tony Gale <gale@gtk.org>
|
||||
|
||||
* docs/faq/gtk-faq.sgml: Update Section 3 to 2.x
|
||||
|
@ -1,3 +1,9 @@
|
||||
Thu Nov 20 15:48:03 2003 Soeren Sandmann <sandmann@daimi.au.dk>
|
||||
|
||||
* gtk/gtksocket.c (gtk_socket_focus): Use gtk_widget_is_focus()
|
||||
instead of GTK_WIDGET_HAS_FOCUS. (#122327, Owen Taylor. Reported
|
||||
by Frederic Crozat).
|
||||
|
||||
Thu Nov 20 13:10:29 GMT 2003 Tony Gale <gale@gtk.org>
|
||||
|
||||
* docs/faq/gtk-faq.sgml: Update Section 3 to 2.x
|
||||
|
@ -1,3 +1,9 @@
|
||||
Thu Nov 20 15:48:03 2003 Soeren Sandmann <sandmann@daimi.au.dk>
|
||||
|
||||
* gtk/gtksocket.c (gtk_socket_focus): Use gtk_widget_is_focus()
|
||||
instead of GTK_WIDGET_HAS_FOCUS. (#122327, Owen Taylor. Reported
|
||||
by Frederic Crozat).
|
||||
|
||||
Thu Nov 20 13:10:29 GMT 2003 Tony Gale <gale@gtk.org>
|
||||
|
||||
* docs/faq/gtk-faq.sgml: Update Section 3 to 2.x
|
||||
|
@ -840,7 +840,7 @@ gtk_socket_focus (GtkWidget *widget, GtkDirectionType direction)
|
||||
if (socket->plug_widget)
|
||||
return gtk_widget_child_focus (socket->plug_widget, direction);
|
||||
|
||||
if (!GTK_WIDGET_HAS_FOCUS (widget))
|
||||
if (!gtk_widget_is_focus (widget))
|
||||
{
|
||||
switch (direction)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user