diff options
author | Nickolay V. Shmyrev <nshmyrev@src.gnome.org> | 2005-06-19 13:10:20 (GMT) |
---|---|---|
committer | Nickolay V. Shmyrev <nshmyrev@src.gnome.org> | 2005-06-19 13:10:20 (GMT) |
commit | bb5ea194600d5ae09b18a147420f4fc42c0808df (patch) | |
tree | 7f0390be29773a1159e75b4456a79ecb361281ac /cut-n-paste | |
parent | c7c3efc21f970868c633bc87b03259b9a7178eff (diff) |
Fix memory leak
* cut-n-paste/recent-files/egg-recent-view-gtk.c:
(egg_recent_view_gtk_finalize):
Fix memory leak
* cut-n-paste/toolbar-editor/Makefile.am:
Fix location of cursor icon.
* pdf/ev-poppler.cc:
* shell/ev-page-action.c: (build_new_tree_cb), (match_selected_cb),
(display_completion_text), (match_completion):
* shell/ev-sidebar-links.c: (ev_sidebar_links_dispose),
(selection_changed_callback), (create_loading_model),
(print_section_cb), (links_page_num_func),
(update_page_callback_foreach):
* shell/ev-window.c: (ev_window_dispose):
Small memory fixes. Links model now store objects instead
of pointers to improve memory management.
Diffstat (limited to 'cut-n-paste')
-rw-r--r-- | cut-n-paste/recent-files/egg-recent-view-gtk.c | 2 | ||||
-rw-r--r-- | cut-n-paste/toolbar-editor/Makefile.am | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/cut-n-paste/recent-files/egg-recent-view-gtk.c b/cut-n-paste/recent-files/egg-recent-view-gtk.c index f9e0bd2..36acf63 100644 --- a/cut-n-paste/recent-files/egg-recent-view-gtk.c +++ b/cut-n-paste/recent-files/egg-recent-view-gtk.c @@ -523,6 +523,8 @@ egg_recent_view_gtk_finalize (GObject *object) g_object_unref (view->client); g_object_unref (view->tooltips); + + egg_recent_view_gtk_clear (view); } static void diff --git a/cut-n-paste/toolbar-editor/Makefile.am b/cut-n-paste/toolbar-editor/Makefile.am index 3bd7b28..1c9a09d 100644 --- a/cut-n-paste/toolbar-editor/Makefile.am +++ b/cut-n-paste/toolbar-editor/Makefile.am @@ -22,11 +22,11 @@ libtoolbareditor_la_SOURCES = \ libtoolbareditor_la_CPPFLAGS = \ -I$(top_builddir)/lib/egg \ - -DCURSOR_DIR=\"$(pkgdatadir)/art\" \ $(AM_CPPFLAGS) libtoolbareditor_la_CFLAGS = \ $(TOOLBAR_EDITOR_CFLAGS) \ + -DCURSOR_DIR=\"$(pkgdatadir)\" \ $(AM_CFLAGS) BUILT_SOURCES = \ |