[gnome-commander] Replacing obsoleted gtk_signal_connect() with g_signal_connect()
- From: Piotr Eljasiak <epiotr src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gnome-commander] Replacing obsoleted gtk_signal_connect() with g_signal_connect()
- Date: Wed, 29 Jul 2009 22:05:06 +0000 (UTC)
commit cda48fe688276dc8e380c7a89eb4df88c6fa12ff
Author: Piotr Eljasiak <epiotr src gnome org>
Date: Tue Jul 28 22:44:10 2009 +0200
Replacing obsoleted gtk_signal_connect() with g_signal_connect()
src/gnome-cmd-con-list.cc | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/gnome-cmd-con-list.cc b/src/gnome-cmd-con-list.cc
index ce16b08..ae4e072 100644
--- a/src/gnome-cmd-con-list.cc
+++ b/src/gnome-cmd-con-list.cc
@@ -230,7 +230,7 @@ void gnome_cmd_con_list_add_ftp (GnomeCmdConList *con_list, GnomeCmdConFtp *ftp_
con_list->priv->all_cons = g_list_append (con_list->priv->all_cons, ftp_con);
con_list->priv->ftp_cons = g_list_append (con_list->priv->ftp_cons, ftp_con);
- gtk_signal_connect (GTK_OBJECT (ftp_con), "updated", GTK_SIGNAL_FUNC (on_con_updated), con_list);
+ g_signal_connect (ftp_con, "updated", G_CALLBACK (on_con_updated), con_list);
if (!con_list->priv->update_lock)
{
@@ -278,7 +278,7 @@ void gnome_cmd_con_list_add_quick_ftp (GnomeCmdConList *con_list, GnomeCmdConFtp
con_list->priv->all_cons = g_list_append (con_list->priv->all_cons, ftp_con);
con_list->priv->quick_ftp_cons = g_list_append (con_list->priv->quick_ftp_cons, ftp_con);
- gtk_signal_connect (GTK_OBJECT (ftp_con), "updated", GTK_SIGNAL_FUNC (on_con_updated), con_list);
+ g_signal_connect (ftp_con, "updated", G_CALLBACK (on_con_updated), con_list);
if (!con_list->priv->update_lock)
{
@@ -325,7 +325,7 @@ void gnome_cmd_con_list_add_device (GnomeCmdConList *con_list, GnomeCmdConDevice
con_list->priv->all_cons = g_list_append (con_list->priv->all_cons, device_con);
con_list->priv->device_cons = g_list_append (con_list->priv->device_cons, device_con);
- gtk_signal_connect (GTK_OBJECT (device_con), "updated", GTK_SIGNAL_FUNC (on_con_updated), con_list);
+ g_signal_connect (device_con, "updated", G_CALLBACK (on_con_updated), con_list);
if (!con_list->priv->update_lock)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]