diff options
author | Javier Jardón <jjardon@gnome.org> | 2010-03-01 04:21:41 +0100 |
---|---|---|
committer | Javier Jardón <jjardon@gnome.org> | 2010-03-01 06:11:01 +0100 |
commit | 4232115e22c8ea41d6a3faf89bcaadfc9933d5e3 (patch) | |
tree | c9852655f9f10b27287cd09ae61082c033ca43c6 /gtk/gtknotebook.c | |
parent | 64f526d34e1adc609944078e2fea38b2792f8230 (diff) | |
download | gtk+-4232115e22c8ea41d6a3faf89bcaadfc9933d5e3.tar.gz |
Deprecate widget flag: GTK_WIDGET_HAS_FOCUS
Use gtk_widget_has_focus() instead
https://bugzilla.gnome.org/show_bug.cgi?id=69872
Diffstat (limited to 'gtk/gtknotebook.c')
-rw-r--r-- | gtk/gtknotebook.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtknotebook.c b/gtk/gtknotebook.c index db873ce4e7..3c639da8c4 100644 --- a/gtk/gtknotebook.c +++ b/gtk/gtknotebook.c @@ -2508,7 +2508,7 @@ gtk_notebook_arrow_button_press (GtkNotebook *notebook, gboolean left = (ARROW_IS_LEFT (arrow) && !is_rtl) || (!ARROW_IS_LEFT (arrow) && is_rtl); - if (!GTK_WIDGET_HAS_FOCUS (widget)) + if (!gtk_widget_has_focus (widget)) gtk_widget_grab_focus (widget); notebook->button = button; @@ -3272,7 +3272,7 @@ gtk_notebook_draw_focus (GtkWidget *widget, { GtkNotebook *notebook = GTK_NOTEBOOK (widget); - if (GTK_WIDGET_HAS_FOCUS (widget) && gtk_widget_is_drawable (widget) && + if (gtk_widget_has_focus (widget) && gtk_widget_is_drawable (widget) && notebook->show_tabs && notebook->cur_page && notebook->cur_page->tab_label->window == event->window) { |