]> www.fi.muni.cz Git - evince.git/blobdiff - libmisc/ev-page-action.c
[dualscreen] fix crash on ctrl+w and fix control window closing
[evince.git] / libmisc / ev-page-action.c
index cda7012e5de299a90fd37cb584657f9aaba5c9f2..ff1f9feeffdddeb0aa729763e21e48654e443954 100644 (file)
@@ -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.
  *
  */
 
@@ -193,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);
        }
 }