[gedit] Use new child-revealed property from gd-revealer
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit] Use new child-revealed property from gd-revealer
- Date: Mon, 11 Feb 2013 19:54:33 +0000 (UTC)
commit 4501d20dd3d679f58ab0f3175355c7bc2b212953
Author: Ignacio Casal Quinteiro <icq gnome org>
Date: Mon Feb 11 20:51:50 2013 +0100
Use new child-revealed property from gd-revealer
gedit/gedit-tab.c | 6 +++---
libgd | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/gedit/gedit-tab.c b/gedit/gedit-tab.c
index b71af0a..f7e368b 100644
--- a/gedit/gedit-tab.c
+++ b/gedit/gedit-tab.c
@@ -537,9 +537,9 @@ set_info_bar (GeditTab *tab,
if (tab->priv->info_bar != NULL)
{
revealer = gtk_widget_get_parent (tab->priv->info_bar);
- g_signal_connect (revealer, "notify::revealed",
+ g_signal_connect (revealer, "notify::child-revealed",
G_CALLBACK(gtk_widget_destroy), NULL);
- gd_revealer_set_revealed (GD_REVEALER (revealer), FALSE);
+ gd_revealer_set_reveal_child (GD_REVEALER (revealer), FALSE);
}
tab->priv->info_bar = info_bar;
@@ -552,7 +552,7 @@ set_info_bar (GeditTab *tab,
gtk_box_pack_start (GTK_BOX (tab), revealer, FALSE, FALSE, 0);
gtk_container_add (GTK_CONTAINER (revealer), tab->priv->info_bar);
- gd_revealer_set_revealed (GD_REVEALER (revealer), TRUE);
+ gd_revealer_set_reveal_child (GD_REVEALER (revealer), TRUE);
g_object_add_weak_pointer (G_OBJECT (tab->priv->info_bar),
(gpointer *)&tab->priv->info_bar);
diff --git a/libgd b/libgd
index c20d1ac..25911b0 160000
--- a/libgd
+++ b/libgd
@@ -1 +1 @@
-Subproject commit c20d1ac9b14b827b722d03d246401ae49c9e0db2
+Subproject commit 25911b0068b78cd425f0f405eae9b5654699dd2f
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]