aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2005-01-23 02:32:01 +0800
committerChristian Persch <chpe@src.gnome.org>2005-01-23 02:32:01 +0800
commitcc4ab469f8d246f410865ed6151605cf5a1882ae (patch)
tree55e576292e331178ca5bd564d7eded0f55af97a7 /src
parentd7b3eddc13ba59ee3e1a7855a3d937ba3a762885 (diff)
downloadgsoc2013-epiphany-cc4ab469f8d246f410865ed6151605cf5a1882ae.tar
gsoc2013-epiphany-cc4ab469f8d246f410865ed6151605cf5a1882ae.tar.gz
gsoc2013-epiphany-cc4ab469f8d246f410865ed6151605cf5a1882ae.tar.bz2
gsoc2013-epiphany-cc4ab469f8d246f410865ed6151605cf5a1882ae.tar.lz
gsoc2013-epiphany-cc4ab469f8d246f410865ed6151605cf5a1882ae.tar.xz
gsoc2013-epiphany-cc4ab469f8d246f410865ed6151605cf5a1882ae.tar.zst
gsoc2013-epiphany-cc4ab469f8d246f410865ed6151605cf5a1882ae.zip
Rename "visible" property.
2005-01-22 Christian Persch <chpe@cvs.gnome.org> * src/ephy-tab.c: (ephy_tab_class_init), (ephy_tab_visibility_cb): * src/ephy-window.c: (tab_added_cb): Rename "visible" property.
Diffstat (limited to 'src')
-rw-r--r--src/ephy-tab.c4
-rw-r--r--src/ephy-window.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/ephy-tab.c b/src/ephy-tab.c
index 667db88a4..1dc26ed25 100644
--- a/src/ephy-tab.c
+++ b/src/ephy-tab.c
@@ -448,7 +448,7 @@ ephy_tab_class_init (EphyTabClass *class)
g_object_class_install_property (object_class,
PROP_VISIBLE,
- g_param_spec_boolean ("visible",
+ g_param_spec_boolean ("visibility",
"Visibility",
"The tab's visibility",
TRUE,
@@ -1361,7 +1361,7 @@ ephy_tab_visibility_cb (EphyEmbed *embed, gboolean visibility,
tab->priv->visibility = visibility;
- g_object_notify (G_OBJECT (tab), "visible");
+ g_object_notify (G_OBJECT (tab), "visibility");
}
static void
diff --git a/src/ephy-window.c b/src/ephy-window.c
index e9a0878be..e80ca23a2 100644
--- a/src/ephy-window.c
+++ b/src/ephy-window.c
@@ -1883,7 +1883,7 @@ tab_added_cb (EphyNotebook *notebook,
update_tabs_menu_sensitivity (window);
- g_signal_connect_object (G_OBJECT (tab), "notify::visible",
+ g_signal_connect_object (G_OBJECT (tab), "notify::visibility",
G_CALLBACK (sync_tab_visibility), window, 0);
embed = ephy_tab_get_embed (tab);