[gnome-photos] configure: Bump minimum GTK+ version to 3.8.0
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-photos] configure: Bump minimum GTK+ version to 3.8.0
- Date: Tue, 2 Apr 2013 23:13:10 +0000 (UTC)
commit 3b649bf83a7ac6c72accad019e817b80ff83b25b
Author: Debarshi Ray <debarshir gnome org>
Date: Wed Apr 3 01:07:42 2013 +0200
configure: Bump minimum GTK+ version to 3.8.0
gtk_icon_info_free is not needed anymore.
configure.ac | 3 ++-
src/photos-base-item.c | 2 +-
src/photos-utils.c | 2 +-
3 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 5e13eb1..cdfab17 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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])
diff --git a/src/photos-base-item.c b/src/photos-base-item.c
index 1c44496..0d6c057 100644
--- a/src/photos-base-item.c
+++ b/src/photos-base-item.c
@@ -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);
}
}
diff --git a/src/photos-utils.c b/src/photos-utils.c
index 04c7b7d..acc193d 100644
--- a/src/photos-utils.c
+++ b/src/photos-utils.c
@@ -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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]