Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
ristretto
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
Avinash Sonawane
ristretto
Commits
01aed558
Commit
01aed558
authored
Apr 22, 2012
by
Stephan Arts
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cleanup memory-leaks
parent
2e5441ed
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
17 additions
and
1 deletion
+17
-1
NEWS
NEWS
+2
-1
src/image_list.c
src/image_list.c
+7
-0
src/image_viewer.c
src/image_viewer.c
+5
-0
src/main_window.c
src/main_window.c
+3
-0
No files found.
NEWS
View file @
01aed558
...
...
@@ -6,7 +6,8 @@ x.x.x
- Show a 'Loading...' message in the statusbar when loading an image or
directory-contents.
- Reload image when it is changed on the filesystem.
- Add a new accelerator to force a reload (ctrl-r)
- Add a new accelerator to force a reload (ctrl-r) - (requires the removal
of ~/.config/ristretto/accels.scm)
0.5.2
=====
...
...
src/image_list.c
View file @
01aed558
...
...
@@ -791,6 +791,13 @@ cb_rstto_read_file ( gpointer user_data )
iter
=
g_slist_next
(
iter
);
}
if
(
loader
->
n_files
>
0
)
{
g_free
(
loader
->
files
);
}
g_object_unref
(
loader
->
file_enum
);
g_free
(
loader
);
return
FALSE
;
}
return
TRUE
;
...
...
src/image_viewer.c
View file @
01aed558
...
...
@@ -648,6 +648,11 @@ rstto_image_viewer_destroy(GtkObject *object)
g_object_unref
(
viewer
->
priv
->
pixbuf
);
viewer
->
priv
->
pixbuf
=
NULL
;
}
if
(
viewer
->
priv
->
iter
)
{
g_object_unref
(
viewer
->
priv
->
iter
);
viewer
->
priv
->
iter
=
NULL
;
}
g_free
(
viewer
->
priv
);
viewer
->
priv
=
NULL
;
}
...
...
src/main_window.c
View file @
01aed558
...
...
@@ -1310,6 +1310,9 @@ rstto_main_window_image_list_iter_changed (RsttoMainWindow *window)
gtk_menu_shell_append
(
GTK_MENU_SHELL
(
open_with_window_menu
),
menu_item
);
menu_item
=
gtk_separator_menu_item_new
();
gtk_menu_shell_append
(
GTK_MENU_SHELL
(
open_with_menu
),
menu_item
);
g_list_foreach
(
app_list
,
(
GFunc
)
g_object_unref
,
NULL
);
g_list_free
(
app_list
);
}
else
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment