delorie.com/archives/browse.cgi | search |
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=2FYntn9qBf+qaVWgsBWbkXfoOi5BMPz42eIvXk5ANMg=; | |
b=DwmJIQVFDhwOTrvp/3CtFSGrTshplWB+fYnVSukBrVI05ySsL2rlJA99lqMNKvQSrp | |
H9+uId8wTVzHUIqE2+XPtKxR3oY5Y1N1f5L9YC5bsd+q4HdFsQ7hxG5/5FLyWo65Gi7B | |
DjeIWfQgiqmdOM4N/RuXBd5NAZ5Kz0EwIxcQyioqVeaKp1m965eUASTq6QhvMTBk4YXe | |
kWngQIFbrPjfRfD0rNiU4r6wRF9ERiD/RCdKZfv+Pk1SK3gEU3yN9JLS/+Zo0pmaLqYt | |
3jS18alRnypES+yA6cpcZ4xE5NR7LUDJJkHQi3+QujCJ4OD6Qg7NZq9XGpXFPaQsTpMW | |
pUVA== | |
X-Received: | by 10.194.237.162 with SMTP id vd2mr7576250wjc.52.1413317899374; |
Tue, 14 Oct 2014 13:18:19 -0700 (PDT) | |
From: | Riccardo Lucchese <riccardo DOT lucchese AT gmail DOT com> |
To: | geda-user AT delorie DOT com |
Cc: | paubert AT iram DOT es, Riccardo Lucchese <riccardo DOT lucchese AT gmail DOT com> |
Subject: | [geda-user] [PATCH V2 17/43] Remove deprecated use of gtk_signal_emit_stop_by_name() |
Date: | Tue, 14 Oct 2014 22:17:09 +0200 |
Message-Id: | <1413317855-10673-18-git-send-email-riccardo.lucchese@gmail.com> |
X-Mailer: | git-send-email 2.1.0 |
In-Reply-To: | <1413317855-10673-1-git-send-email-riccardo.lucchese@gmail.com> |
References: | <1413317855-10673-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 |
Verbatim from Gtk+ 2 Reference Manual: "gtk_signal_emit_stop_by_name is deprecated and should not be used in newly-written code. Use g_signal_stop_emission_by_name() instead." --- gattrib/src/gtksheet_2_2.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gattrib/src/gtksheet_2_2.c b/gattrib/src/gtksheet_2_2.c index 6614c16..bc505f0 100644 --- a/gattrib/src/gtksheet_2_2.c +++ b/gattrib/src/gtksheet_2_2.c @@ -5571,8 +5571,8 @@ gtk_sheet_key_press(GtkWidget *widget, case GDK_Return: case GDK_KP_Enter: if(sheet->state == GTK_SHEET_NORMAL && !GTK_SHEET_IN_SELECTION(sheet)) - gtk_signal_emit_stop_by_name(GTK_OBJECT(gtk_sheet_get_entry(sheet)), - "key_press_event"); + g_signal_stop_emission_by_name(gtk_sheet_get_entry(sheet), + "key_press_event"); row = sheet->active_cell.row; col = sheet->active_cell.col; if(sheet->state == GTK_SHEET_COLUMN_SELECTED) -- 2.1.0
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |