Skip to content
Commits on Source (16)
Version 43.2
------------
Bug fixes and improvements:
!142, Avoid critical warnings when saving images on exit (Felix Riemann)
!143, Fix build on macOS (Weijia Wang)
New and updated translations:
- Нанба Наала [ab]
- Vasil Pupkin, Launchpad translators [be]
- OIS [ie]
- Aleksandr Melman [ru]
Version 43.1
------------
......
......@@ -36,11 +36,12 @@
<kudo>UserDocs</kudo>
</kudos>
<releases>
<release version="43.1" date="2022-10-22">
<release version="43.2" date="2023-01-07">
<description>
<p>Eye of GNOME 43.1 is the latest stable version of Eye of GNOME, and contains all the translation updates since release 43.0.</p>
<p>Eye of GNOME 43.2 is the latest stable version of Eye of GNOME, and contains all the bugfixes and translation updates since release 43.1.</p>
</description>
</release>
<release version="43.1" date="2022-10-22" />
<release version="43.0" date="2022-09-17" />
<release version="42.2" date="2022-05-28" />
<release version="42.1" date="2022-04-23" />
......
project(
'eog', 'c',
version: '43.1',
version: '43.2',
license: 'GPL2+',
default_options: 'buildtype=debugoptimized',
meson_version: '>= 0.58.0',
......
......@@ -45,6 +45,7 @@ hi
hr
hu
id
ie
is
it
ja
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
......@@ -586,9 +586,9 @@ eog_application_get_file_window (EogApplication *application, GFile *file)
for (l = windows; l != NULL; l = l->next) {
if (EOG_IS_WINDOW (l->data)) {
EogWindow *window = EOG_WINDOW (l->data);
EogImage *image = eog_window_get_image (window);
if (!eog_window_is_empty (window)) {
EogImage *image = eog_window_get_image (window);
if (image) {
GFile *window_file;
window_file = eog_image_get_file (image);
......
......@@ -34,7 +34,9 @@
#include <glib/gi18n.h>
#include <glib-object.h>
#include <gtk/gtk.h>
#ifndef __APPLE__
#include <gio/gdesktopappinfo.h>
#endif
/* gboolean <-> gpointer conversion macros taken from gedit */
#ifndef GBOOLEAN_TO_POINTER
......@@ -324,6 +326,7 @@ static gpointer
_check_evince_availability(gpointer data)
{
gboolean result = FALSE;
#ifndef __APPLE__
GDesktopAppInfo *app_info;
app_info = g_desktop_app_info_new ("org.gnome.Evince.desktop");
......@@ -331,6 +334,7 @@ _check_evince_availability(gpointer data)
result = TRUE;
g_object_unref (app_info);
}
#endif
return GBOOLEAN_TO_POINTER(result);
}
......
......@@ -154,10 +154,12 @@ notify_finished (EogJob *job)
EOG_GET_TYPE_NAME (job),
job);
/* notify job finalization */
g_signal_emit (job,
job_signals[FINISHED],
0);
/* notify job finalization if not cancelled */
if (!eog_job_is_cancelled (job))
g_signal_emit (job,
job_signals[FINISHED],
0);
return FALSE;
}
......
......@@ -52,11 +52,25 @@ foreach_monitors_free (gpointer data)
g_file_monitor_cancel (G_FILE_MONITOR (data));
}
static void
eog_list_store_remove_thumbnail_job (EogListStore *store, GtkTreeIter *iter);
static gboolean
foreach_model_cancel_job (GtkTreeModel *model, GtkTreePath *path,
GtkTreeIter *iter, gpointer data)
{
eog_list_store_remove_thumbnail_job (EOG_LIST_STORE (model), iter);
return FALSE;
}
static void
eog_list_store_dispose (GObject *object)
{
EogListStore *store = EOG_LIST_STORE (object);
gtk_tree_model_foreach (GTK_TREE_MODEL (store),
foreach_model_cancel_job, NULL);
if (store->priv->monitors != NULL) {
g_hash_table_unref (store->priv->monitors);
store->priv->monitors = NULL;
......
......@@ -65,7 +65,9 @@
#include <glib/gi18n.h>
#include <gio/gio.h>
#include <gdk/gdkkeysyms.h>
#ifndef __APPLE__
#include <gio/gdesktopappinfo.h>
#endif
#include <gtk/gtk.h>
#include <libpeas/peas-extension-set.h>
......@@ -1337,6 +1339,7 @@ eog_window_error_message_area_response (GtkInfoBar *message_area,
break;
case EOG_ERROR_MESSAGE_AREA_RESPONSE_OPEN_WITH_EVINCE:
{
#ifndef __APPLE__
GDesktopAppInfo *app_info;
GFile *img_file;
GList *img_files = NULL;
......@@ -1353,6 +1356,7 @@ eog_window_error_message_area_response (GtkInfoBar *message_area,
img_files);
g_list_free_full (img_files, g_object_unref);
}
#endif
}
break;
}
......@@ -2331,8 +2335,7 @@ eog_job_close_save_cb (EogJobSave *job, gpointer user_data)
window);
/* clean the last save job */
g_object_unref (window->priv->save_job);
window->priv->save_job = NULL;
g_clear_object (&window->priv->save_job);
/* recover save action from actions group */
action_save = g_action_map_lookup_action (G_ACTION_MAP (window),
......@@ -2774,8 +2777,7 @@ eog_job_save_cb (EogJobSave *job, gpointer user_data)
window);
/* clean the last save job */
g_object_unref (window->priv->save_job);
window->priv->save_job = NULL;
g_clear_object (&window->priv->save_job);
/* recover save action from actions group */
action_save = g_action_map_lookup_action (G_ACTION_MAP (window),
......