]> www.fi.muni.cz Git - evince.git/blobdiff - shell/ev-page-action-widget.c
Added. Returns whether the animation has everything necessary to run. Do
[evince.git] / shell / ev-page-action-widget.c
index 5cd1054f5a6a3e3456de02316f7ea00d10fa6301..2bef853d583e75b8f269eff5ec90822cd1603aab 100644 (file)
@@ -60,14 +60,14 @@ ev_page_action_widget_set_page_cache (EvPageActionWidget *action_widget,
 {
        if (action_widget->page_cache != NULL) {
                g_object_remove_weak_pointer (G_OBJECT (action_widget->page_cache),
-                                             (gpointer *)&action_widget->page_cache);
+                                             (gpointer)&action_widget->page_cache);
                action_widget->page_cache = NULL;
        }
 
        if (page_cache != NULL) {
                action_widget->page_cache = page_cache;
                g_object_add_weak_pointer (G_OBJECT (page_cache),
-                                          (gpointer *)&action_widget->page_cache);
+                                          (gpointer)&action_widget->page_cache);
        }
 }
 
@@ -77,6 +77,8 @@ ev_page_action_widget_finalize (GObject *object)
        EvPageActionWidget *action_widget = EV_PAGE_ACTION_WIDGET (object);
 
        ev_page_action_widget_set_page_cache (action_widget, NULL);
+
+       G_OBJECT_CLASS (ev_page_action_widget_parent_class)->finalize (object);
 }
 
 static void