[cheese: 7/13] Avoid deprecated clutter_table_layout_set_expand
- From: David King <davidk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [cheese: 7/13] Avoid deprecated clutter_table_layout_set_expand
- Date: Sat, 20 Apr 2013 21:48:30 +0000 (UTC)
commit 9e5f6d9baee8b22ad507fa2600e28b0f1b436d3d
Author: David King <amigadave amigadave com>
Date: Fri Apr 19 18:50:38 2013 +0100
Avoid deprecated clutter_table_layout_set_expand
Use the "expand-x" and "expand-y" properties on ClutterActor instead
(which are both set to false by default).
src/cheese-window.vala | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
---
diff --git a/src/cheese-window.vala b/src/cheese-window.vala
index d852514..67d8eed 100644
--- a/src/cheese-window.vala
+++ b/src/cheese-window.vala
@@ -1246,10 +1246,8 @@ public class Cheese.MainWindow : Gtk.ApplicationWindow
box.add_child (text);
Clutter.TableLayout table_layout = (Clutter.TableLayout) effects_grids.nth_data (i /
EFFECTS_PER_PAGE).layout_manager;
- table_layout.pack ((Clutter.Actor) box,
- ((int)(i % EFFECTS_PER_PAGE)) % 3,
+ table_layout.pack (box, ((int)(i % EFFECTS_PER_PAGE)) % 3,
((int)(i % EFFECTS_PER_PAGE)) / 3);
- table_layout.set_expand (box, false, false);
i++;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]