X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=PL1G6fdupImwmW3+A48OqbcwtKG6bcd12fGfRw1RwbA=; b=Lpk5CGHFnqqX5Zq65MJ7QbnFKYjQbsaVjX2uGLQcnCaPlFKqZYIQo5LTB/sXArGlhu rwXZjPzWY5cURmtXv6KX48v8gLixEGb3pLW78IsO2TUDwW22IIkcmcasJWMY3xnrD6Zr pwwVlzAaT9Yj4bIlVAkYMrtfQCD/r4Sg7HyqdkT2liDvTfplmAJYECj7zYUScyFqFs6m +IffkWiatz5Jrmpr9PDdO8xBcDjUzSZXyZ5MEGCfWb3ljLPGWklJhMjPMMUS0RdPsq0i UfuIzE+yw8kpl05VzfR23JLasILT4du6Fv8W+XF7Koz7lIwQJ+BoIa8NROlDPB7eE3WI Av6g== X-Received: by 10.180.99.34 with SMTP id en2mr48006965wib.34.1411038533254; Thu, 18 Sep 2014 04:08:53 -0700 (PDT) From: Riccardo Lucchese To: geda-user AT delorie DOT com Cc: Riccardo Lucchese Subject: [geda-user] [PATCH 39/43] Remove deprecated use of gtk_signal_connect_object() Date: Thu, 18 Sep 2014 13:06:34 +0200 Message-Id: <1411038398-10231-40-git-send-email-riccardo.lucchese@gmail.com> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1411038398-10231-1-git-send-email-riccardo.lucchese@gmail.com> References: <1411038398-10231-1-git-send-email-riccardo DOT lucchese AT gmail DOT com> Reply-To: geda-user AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: geda-user AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk Verbatim from Gtk+ 2 Reference Manual: "gtk_signal_connect_object is deprecated and should not be used in newly-written code." Use g_signal_connect_swapped instead. --- gattrib/src/gtksheet_2_2.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gattrib/src/gtksheet_2_2.c b/gattrib/src/gtksheet_2_2.c index 399e473..4b70cb1 100644 --- a/gattrib/src/gtksheet_2_2.c +++ b/gattrib/src/gtksheet_2_2.c @@ -6214,9 +6214,9 @@ create_sheet_entry(GtkSheet *sheet) /* #if 0 */ /* SDB says: I need to work out the event passing system */ - gtk_signal_connect_object(GTK_OBJECT(entry),"key_press_event", - (GtkSignalFunc) gtk_sheet_key_press, - GTK_OBJECT(sheet)); + g_signal_connect_swapped(GTK_OBJECT(entry), "key_press_event", + (GtkSignalFunc)gtk_sheet_key_press, + GTK_OBJECT(sheet)); /* gtk_signal_connect_object(GTK_OBJECT(entry),"key_press_event", (GtkSignalFunc) gtk_sheet_entry_key_press, GTK_OBJECT(sheet)); -- 2.1.0