Commit 3b649bf8 authored by Debarshi Ray's avatar Debarshi Ray

configure: Bump minimum GTK+ version to 3.8.0

gtk_icon_info_free is not needed anymore.
parent 1c409f5f
......@@ -26,6 +26,7 @@ GLIB_GSETTINGS
EXEMPI_MIN_VERSION=1.99.5
GLIB_MIN_VERSION=2.35.1
GTK_MIN_VERSION=3.8.0
LIBEXIF_MIN_VERSION=0.6.14
LIBRSVG_MIN_VERSION=2.26.0
......@@ -90,7 +91,7 @@ AC_DEFINE([GNOME_DESKTOP_USE_UNSTABLE_API], [], [We are aware that GNOME_DESKTOP
PKG_CHECK_MODULES(GOA, [goa-1.0])
AC_DEFINE([GOA_API_IS_SUBJECT_TO_CHANGE], [], [We are aware that GOA's API can change])
PKG_CHECK_MODULES(GTK, [gtk+-3.0])
PKG_CHECK_MODULES(GTK, [gtk+-3.0 >= $GTK_MIN_VERSION])
AC_DEFINE([HAVE_GTK3], [], [We want gegl-gtk to use the GTK+ 3.x code path])
PKG_CHECK_MODULES(GTK_UNIX_PRINT, [gtk+-unix-print-3.0])
......
......@@ -172,7 +172,7 @@ photos_base_item_check_effects_and_update_info (PhotosBaseItem *self)
icon = tmp;
}
gtk_icon_info_free (icon_info);
g_object_unref (icon_info);
}
}
......
......@@ -198,7 +198,7 @@ photos_utils_create_symbolic_icon (const gchar *name, gint base_size)
goto out;
pixbuf = gtk_icon_info_load_symbolic_for_context (info, style, NULL, NULL);
gtk_icon_info_free (info);
g_object_unref (info);
if (pixbuf == NULL)
goto out;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment