Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/libview/ev-view.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-view.c
parentb81ab84ffbb263771071c9ed79350dbb4017a17b (diff)
Replace GTK_WIDGET_HAS_FOCUS() with gtk_widget_has_focus()
Diffstat (limited to 'libview/ev-view.c')
-rw-r--r--libview/ev-view.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libview/ev-view.c b/libview/ev-view.c
index 9c125d3..ee713d4 100644
--- a/libview/ev-view.c
+++ b/libview/ev-view.c
@@ -3250,7 +3250,7 @@ ev_view_button_press_event (GtkWidget *widget,
if (!view->document)
return FALSE;
- if (!GTK_WIDGET_HAS_FOCUS (widget)) {
+ if (!gtk_widget_has_focus (widget)) {
gtk_widget_grab_focus (widget);
}
@@ -3762,7 +3762,7 @@ ev_view_key_press_event (GtkWidget *widget,
if (!view->document)
return FALSE;
- if (!GTK_WIDGET_HAS_FOCUS (widget)) {
+ if (!gtk_widget_has_focus (widget)) {
/* Forward key events to current focused window child */
if (view->window_child_focus) {
GdkEventKey *new_event;