X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;ds=inline;f=shell%2Feggfindbar.c;h=9ddb2c02278a44c29fbca15449ebbae13f3d9f7d;hb=df408ff0086984d7c067ea31f298c0aad002b2e6;hp=5b196ec1299f56ecad2cf943a530301352c7ee31;hpb=9e1a81fd3638f5a7642a71b78a0403b33501dff2;p=evince.git diff --git a/shell/eggfindbar.c b/shell/eggfindbar.c index 5b196ec1..9ddb2c02 100644 --- a/shell/eggfindbar.c +++ b/shell/eggfindbar.c @@ -1,20 +1,20 @@ /* Copyright (C) 2004 Red Hat, Inc. - -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU Library General Public License as -published by the Free Software Foundation; either version 2 of the -License, or (at your option) any later version. - -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Library General Public License for more details. - -You should have received a copy of the GNU Library General Public -License along with the Gnome Library; see the file COPYING.LIB. If not, -write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, -Boston, MA 02111-1307, USA. -*/ + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public License as + * published by the Free Software Foundation; either version 2 of the + * License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with the Gnome Library; see the file COPYING.LIB. If not, + * write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, + * Boston, MA 02110-1301, USA. + */ #include "config.h" @@ -280,7 +280,7 @@ set_focus_cb (GtkWidget *window, while (widget != NULL && widget != wbar) { - widget = widget->parent; + widget = gtk_widget_get_parent (widget); } /* if widget == bar, the new focus widget is in the bar, so we