[gnome-documents] embed: set use_layout_size on the GtkClutterEmbed
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-documents] embed: set use_layout_size on the GtkClutterEmbed
- Date: Mon, 2 Jul 2012 06:06:01 +0000 (UTC)
commit d71c99d4ad83ee8cdcbc7424a0dc9bf5eb6105fc
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Mon Jul 2 02:04:32 2012 -0400
embed: set use_layout_size on the GtkClutterEmbed
This allows the minimum size request of the window to take into
consideration the actors embedded in the scene.
Requires clutter-gtk 1.3.2
configure.ac | 2 +-
src/embed.js | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 20d4943..11b5354 100644
--- a/configure.ac
+++ b/configure.ac
@@ -55,7 +55,7 @@ GTK_MIN_VERSION=3.5.5
GOBJECT_INTROSPECTION_MIN_VERSION=1.31.6
GDATA_MIN_VERSION=0.11.0
GOA_MIN_VERSION=3.2.0
-CLUTTER_GTK_MIN_VERSION=1.0.2
+CLUTTER_GTK_MIN_VERSION=1.3.2
TRACKER_MIN_VERSION=0.13.1
ZAPOJIT_MIN_VERSION=0.0.2
diff --git a/src/embed.js b/src/embed.js
index e4cc9d0..21d80f1 100644
--- a/src/embed.js
+++ b/src/embed.js
@@ -49,7 +49,7 @@ const Embed = new Lang.Class({
this._loaderCancellable = null;
this._queryErrorId = 0;
- this.widget = new GtkClutter.Embed();
+ this.widget = new GtkClutter.Embed({ use_layout_size: true });
this.widget.show();
// the embed is a vertical ClutterBox
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]