]> www.fi.muni.cz Git - evince.git/blobdiff - shell/ev-page-action-widget.c
Do not connect selection changed signal more than once. Fixes bug #349433.
[evince.git] / shell / ev-page-action-widget.c
index 5cd1054f5a6a3e3456de02316f7ea00d10fa6301..0212fce740d1c52e8756c91ce621bdbff48aba63 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);
        }
 }