[eog] EogMetadataSidebar: Fix deprecation warning with newer GTK+
- From: Felix Riemann <friemann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [eog] EogMetadataSidebar: Fix deprecation warning with newer GTK+
- Date: Fri, 10 May 2013 13:18:27 +0000 (UTC)
commit 823493f93960c6ff4f9cab23454ba8464d4f478a
Author: Felix Riemann <friemann gnome org>
Date: Fri May 10 15:14:18 2013 +0200
EogMetadataSidebar: Fix deprecation warning with newer GTK+
configure.ac | 2 +-
src/eog-metadata-sidebar.c | 3 +--
2 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index fb1219a..70d5d57 100644
--- a/configure.ac
+++ b/configure.ac
@@ -83,7 +83,7 @@ YELP_HELP_INIT
# GNOME Libs
# **********
-GTK_REQUIRED=3.5.4
+GTK_REQUIRED=3.7.8
GLIB_REQUIRED=2.31.0
GNOME_DESKTOP_REQUIRED=2.91.2
GDKPIXBUF_REQUIRED=2.4.0
diff --git a/src/eog-metadata-sidebar.c b/src/eog-metadata-sidebar.c
index aec02cf..494e15b 100644
--- a/src/eog-metadata-sidebar.c
+++ b/src/eog-metadata-sidebar.c
@@ -585,8 +585,7 @@ eog_metadata_sidebar_constructed (GObject *object)
/* This can only happen after all construct properties for
* GtkScrolledWindow are set/handled. */
- gtk_scrolled_window_add_with_viewport (GTK_SCROLLED_WINDOW (object),
- priv->grid);
+ gtk_container_add (GTK_CONTAINER (object), priv->grid);
gtk_widget_show (GTK_WIDGET (object));
G_OBJECT_CLASS (eog_metadata_sidebar_parent_class)->constructed (object);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]