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=Aiq4g3aATH9UgIUwFPvrfVvRmWUF9dGmQltr8VUV/yI=; | |
b=ZztpMHkIfUfEVQcbePrO0D0bVW2dV/sxZ3voQ6UOTPu+bK8YR0HeKEBQSUSn3x86mP | |
fIacS1NMpWxjO/lP7GIEwviRvyQ/4i2tQPDvJLhOcoAGAD0ZtsioDdPsQvlScm4DDMy9 | |
g5ohZE48hAjpeSJ8RpfTTKTdV4ZEgbgWrJLghWVWzpN7UemKLy4+xp7XDOkW0OG02nDH | |
wqk7jhdHyR9nnL13K3EMpvaesxbn6CVYSE9pVCOqcDmCE8AY7MvqLVF74Qgw5vqQsKtX | |
Jy0gXEqeEr75mJQkp8fUUAdKosuCGE0qsoSaIpVbZE8WPX1v8ZpES1nbXsKtjc0IQ8qB | |
D/KQ== | |
X-Received: | by 10.180.77.229 with SMTP id v5mr7391693wiw.59.1413317982089; |
Tue, 14 Oct 2014 13:19:42 -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 43/43] Remove deprecated use of gtk_object_ref() |
Date: | Tue, 14 Oct 2014 22:17:35 +0200 |
Message-Id: | <1413317855-10673-44-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_ref is deprecated and should not be used in newly-written code. Use g_object_ref() 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 d412170..7ef26b3 100644 --- a/gattrib/src/gtksheet_2_2.c +++ b/gattrib/src/gtksheet_2_2.c @@ -2378,7 +2378,7 @@ gtk_sheet_set_vadjustment (GtkSheet *sheet, if (sheet->vadjustment) { - gtk_object_ref (GTK_OBJECT (sheet->vadjustment)); + g_object_ref(sheet->vadjustment); g_object_ref_sink(sheet->vadjustment); g_signal_connect(sheet->vadjustment, "changed", @@ -2423,7 +2423,7 @@ gtk_sheet_set_hadjustment (GtkSheet *sheet, if (sheet->hadjustment) { - gtk_object_ref (GTK_OBJECT (sheet->hadjustment)); + g_object_ref(sheet->hadjustment); g_object_ref_sink(sheet->hadjustment); g_signal_connect(sheet->hadjustment, "changed", -- 2.1.0
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |