[gnome-documents] Update for libgd master changes



commit 237887a63ec0f108f0d27ca8747fb85370acee3e
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Mon Feb 11 14:03:26 2013 -0500

    Update for libgd master changes

 libgd            |    2 +-
 src/preview.js   |    4 ++--
 src/searchbar.js |    4 ++--
 3 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/libgd b/libgd
index c20d1ac..4cd7128 160000
--- a/libgd
+++ b/libgd
@@ -1 +1 @@
-Subproject commit c20d1ac9b14b827b722d03d246401ae49c9e0db2
+Subproject commit 4cd7128e3b6c3dbafc4b1839585e69885b9f4741
diff --git a/src/preview.js b/src/preview.js
index aec9ac6..e8e4a14 100644
--- a/src/preview.js
+++ b/src/preview.js
@@ -706,11 +706,11 @@ const PreviewFullscreenToolbar = new Lang.Class({
     },
 
     show: function() {
-        this.revealer.set_revealed(true);
+        this.revealer.set_reveal_child(true);
     },
 
     hide: function() {
-        this.revealer.set_revealed(false);
+        this.revealer.set_reveal_child(false);
         Application.application.change_action_state('search', GLib.Variant.new('b', false));
     }
 });
diff --git a/src/searchbar.js b/src/searchbar.js
index 9ed0f5a..3feafb9 100644
--- a/src/searchbar.js
+++ b/src/searchbar.js
@@ -198,7 +198,7 @@ const Searchbar = new Lang.Class({
 
     show: function() {
         let eventDevice = Gtk.get_current_event_device();
-        this.widget.set_revealed(true);
+        this.widget.set_reveal_child(true);
         this._in = true;
 
         if (eventDevice)
@@ -207,7 +207,7 @@ const Searchbar = new Lang.Class({
 
     hide: function() {
         this._in = false;
-        this.widget.set_revealed(false);
+        this.widget.set_reveal_child(false);
         // clear all the search properties when hiding the entry
         this._searchChangeBlocked = true;
         this._searchEntry.set_text('');


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]