]> www.fi.muni.cz Git - evince.git/blobdiff - shell/ev-navigation-action.c
Fix build with poppler 0.5.9.
[evince.git] / shell / ev-navigation-action.c
index cbed9fb8abd84bb946a5574c47de677b9d4e8251..dd4e38e83bf1e0d3c23749d71c85e0006b1eee58 100644 (file)
@@ -61,7 +61,7 @@ ev_navigation_action_set_history (EvNavigationAction *action,
        action->priv->history = history;
 
        g_object_add_weak_pointer (G_OBJECT (action->priv->history),
-                                  (gpointer *) &action->priv->history);
+                                  (gpointer) &action->priv->history);
 }
 
 static void
@@ -219,7 +219,7 @@ ev_navigation_action_finalize (GObject *object)
 
        if (action->priv->history) {
                g_object_add_weak_pointer (G_OBJECT (action->priv->history),
-                                          (gpointer *) &action->priv->history);
+                                          (gpointer) &action->priv->history);
        }
 
        G_OBJECT_CLASS (ev_navigation_action_parent_class)->finalize (object);