diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2005-01-23 02:31:35 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2005-01-23 02:31:35 +0800 |
commit | b63e76a630323b3bc17ad545d9fc81902c632d67 (patch) | |
tree | 8e2523df197d1917bf7b5b0bafead137218ed726 /src | |
parent | a08cea610f2ce5b7fec984aeea9746c650635e71 (diff) | |
download | gsoc2013-epiphany-b63e76a630323b3bc17ad545d9fc81902c632d67.tar gsoc2013-epiphany-b63e76a630323b3bc17ad545d9fc81902c632d67.tar.gz gsoc2013-epiphany-b63e76a630323b3bc17ad545d9fc81902c632d67.tar.bz2 gsoc2013-epiphany-b63e76a630323b3bc17ad545d9fc81902c632d67.tar.lz gsoc2013-epiphany-b63e76a630323b3bc17ad545d9fc81902c632d67.tar.xz gsoc2013-epiphany-b63e76a630323b3bc17ad545d9fc81902c632d67.tar.zst gsoc2013-epiphany-b63e76a630323b3bc17ad545d9fc81902c632d67.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.c | 4 | ||||
-rw-r--r-- | src/ephy-window.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/ephy-tab.c b/src/ephy-tab.c index 87eb8ac1a..4b297e5b1 100644 --- a/src/ephy-tab.c +++ b/src/ephy-tab.c @@ -459,7 +459,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, @@ -1389,7 +1389,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 9624639d2..2760e59fb 100644 --- a/src/ephy-window.c +++ b/src/ephy-window.c @@ -2106,7 +2106,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); |