X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;f=libmisc%2Fev-page-action.c;h=ff1f9feeffdddeb0aa729763e21e48654e443954;hb=661c24bf2d3898825b081434c74807e6a7c4822b;hp=6c3635194e3559f87fcb560613f72c1a292373a5;hpb=34148304a0237fd9fd7c4ea05ca2e053d9ddd3ff;p=evince.git diff --git a/libmisc/ev-page-action.c b/libmisc/ev-page-action.c index 6c363519..ff1f9fee 100644 --- a/libmisc/ev-page-action.c +++ b/libmisc/ev-page-action.c @@ -14,7 +14,7 @@ * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * */ @@ -121,7 +121,6 @@ ev_page_action_set_property (GObject *object, GParamSpec *pspec) { EvPageAction *page = EV_PAGE_ACTION (object); - GtkTreeModel *model; switch (prop_id) { @@ -194,7 +193,7 @@ ev_page_action_grab_focus (EvPageAction *page_action) proxy = EV_PAGE_ACTION_WIDGET (proxies->data); - if (GTK_WIDGET_MAPPED (GTK_WIDGET (proxy))) + if (gtk_widget_get_mapped (GTK_WIDGET (proxy))) ev_page_action_widget_grab_focus (proxy); } }