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=ftYpQWcpAVMLQsputj/2WHaZzxa7jLiswnYDZa7HfBg=; | |
b=B5zfEl8YvT44MTr5GuUc7tMc8DPIP7QH5FriPsN9n6u2MtIBtxDD9qF4c8MpyVI6iU | |
Vm/idW7jWILnpxUWoUMlGcjfVgoPO/4WBXOWVvejoO9zN7rehniD859FEnXzHWkNoV+8 | |
On5quGIbps24S0FDn5U9Omt2Ce7aAsHI2MpJEcDFMU918yfvmw5ug7jjPyjoXFasi2Ua | |
YV0rWIyvfK1gemQOqb8K95eIPpI+Nrl063GlQXS3loj+b2KFnzM33186zSls6T/OluE6 | |
osdI/8cgVzK5Ik3ipvhpl9reumM70IC2/dFQ8c2csfWg/UaH8TkRX7tHra7jzOohtJlX | |
iWew== | |
X-Received: | by 10.180.20.43 with SMTP id k11mr7923481wie.28.1413317958818; |
Tue, 14 Oct 2014 13:19:18 -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 36/43] Remove deprecated use of gtk_object_sink() |
Date: | Tue, 14 Oct 2014 22:17:28 +0200 |
Message-Id: | <1413317855-10673-37-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_object_sink has been deprecated since version 2.10 and should not be used in newly-written code. Use g_object_ref_sink() 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 e81aa45..7a68894 100644 --- a/gattrib/src/gtksheet_2_2.c +++ b/gattrib/src/gtksheet_2_2.c @@ -2379,7 +2379,7 @@ gtk_sheet_set_vadjustment (GtkSheet *sheet, if (sheet->vadjustment) { gtk_object_ref (GTK_OBJECT (sheet->vadjustment)); - gtk_object_sink (GTK_OBJECT (sheet->vadjustment)); + g_object_ref_sink(sheet->vadjustment); g_signal_connect(sheet->vadjustment, "changed", (GtkSignalFunc)vadjustment_changed, (gpointer)sheet); @@ -2424,7 +2424,7 @@ gtk_sheet_set_hadjustment (GtkSheet *sheet, if (sheet->hadjustment) { gtk_object_ref (GTK_OBJECT (sheet->hadjustment)); - gtk_object_sink (GTK_OBJECT (sheet->hadjustment)); + g_object_ref_sink(sheet->hadjustment); g_signal_connect(sheet->hadjustment, "changed", (GtkSignalFunc)hadjustment_changed, (gpointer)sheet); -- 2.1.0
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |