X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;f=shell%2Fev-navigation-action.c;h=dd4e38e83bf1e0d3c23749d71c85e0006b1eee58;hb=b4400b84fbb899a1984c8e145b91a09de3a35516;hp=c4f6191773e10d59ba2ac46cf3a335a1afbabc82;hpb=e98242e3e677e78840e8a417801c2831602831ce;p=evince.git diff --git a/shell/ev-navigation-action.c b/shell/ev-navigation-action.c index c4f61917..dd4e38e8 100644 --- a/shell/ev-navigation-action.c +++ b/shell/ev-navigation-action.c @@ -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 @@ -166,7 +166,7 @@ connect_proxy (GtkAction *action, GtkWidget *proxy) { GtkWidget *menu; - if (EV_IS_NAVIGATION_ACTION (proxy)) { + if (GTK_IS_TOOL_ITEM (proxy)) { /* set dummy menu so the arrow gets sensitive */ menu = gtk_menu_new (); ev_navigation_action_widget_set_menu (EV_NAVIGATION_ACTION_WIDGET (proxy), menu); @@ -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);