Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/libview/ev-annotation-window.c
diff options
context:
space:
mode:
authorHib Eris <hib@hiberis.nl>2010-03-29 14:47:23 (GMT)
committer Carlos Garcia Campos <carlosgc@gnome.org>2010-03-31 17:09:45 (GMT)
commit765e79bb75503f6369e0e3d289d40053e1872eaf (patch)
tree7047adb56cd2dd430c7a9c85613db128407c9871 /libview/ev-annotation-window.c
parentb81ab84ffbb263771071c9ed79350dbb4017a17b (diff)
Replace GTK_WIDGET_HAS_FOCUS() with gtk_widget_has_focus()
Diffstat (limited to 'libview/ev-annotation-window.c')
-rw-r--r--libview/ev-annotation-window.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libview/ev-annotation-window.c b/libview/ev-annotation-window.c
index b1cff28..f4a3916 100644
--- a/libview/ev-annotation-window.c
+++ b/libview/ev-annotation-window.c
@@ -627,7 +627,7 @@ ev_annotation_window_grab_focus (EvAnnotationWindow *window)
{
g_return_if_fail (EV_IS_ANNOTATION_WINDOW (window));
- if (!GTK_WIDGET_HAS_FOCUS (window->text_view)) {
+ if (!gtk_widget_has_focus (window->text_view)) {
gtk_widget_grab_focus (GTK_WIDGET (window));
send_focus_change (window->text_view, TRUE);
}
@@ -638,7 +638,7 @@ ev_annotation_window_ungrab_focus (EvAnnotationWindow *window)
{
g_return_if_fail (EV_IS_ANNOTATION_WINDOW (window));
- if (GTK_WIDGET_HAS_FOCUS (window->text_view)) {
+ if (gtk_widget_has_focus (window->text_view)) {
send_focus_change (window->text_view, FALSE);
}