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=fOS4ExXtgJb/NqiCS3DJQewmLZLFLjHaNRHWjz7VuVY=; b=Kr06r9GGGHWpfDznTJ5QWfyxGKqcE1y9Gw/tOLtRKEqld4oN4kuXvYAxuOyB0NayNM QbpTSx1PF0DdXGZ32qCU3qh7B8Q5K+x0ZtgdV25uFvQwi24IN6Lvfl+Q+YyDhaoMLOXH D6Tw0CkvLccSqDUnFKPyGmUS8LyIs5QgYE+7p7yNBQLsy2I7TuzzJMkOHwKV5SB35LLu yKx91GVDY1yX8ImRNYl2OIhIGP8/0SyvfKxY8xjASFSeenJtefwqHW69EmNiETEBFBpE BhiEt65EJVtq9vNGYap1FWBdkyrv0EXrQOlbJ/RF0mjb3XZTKusLHjWBUh54/G8DvK9b 4fTg== X-Received: by 10.180.106.232 with SMTP id gx8mr46237980wib.2.1411038546274; Thu, 18 Sep 2014 04:09:06 -0700 (PDT) From: Riccardo Lucchese To: geda-user AT delorie DOT com Cc: Riccardo Lucchese Subject: [geda-user] [PATCH 43/43] Remove deprecated use of gtk_object_ref() Date: Thu, 18 Sep 2014 13:06:38 +0200 Message-Id: <1411038398-10231-44-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_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 fa592d7..8e63c92 100644 --- a/gattrib/src/gtksheet_2_2.c +++ b/gattrib/src/gtksheet_2_2.c @@ -2387,7 +2387,7 @@ gtk_sheet_set_vadjustment (GtkSheet *sheet, if (sheet->vadjustment) { - gtk_object_ref (GTK_OBJECT (sheet->vadjustment)); + g_object_ref(GTK_OBJECT(sheet->vadjustment)); g_object_ref_sink(GTK_OBJECT(sheet->vadjustment)); g_signal_connect(GTK_OBJECT(sheet->vadjustment), "changed", @@ -2432,7 +2432,7 @@ gtk_sheet_set_hadjustment (GtkSheet *sheet, if (sheet->hadjustment) { - gtk_object_ref (GTK_OBJECT (sheet->hadjustment)); + g_object_ref(GTK_OBJECT(sheet->hadjustment)); g_object_ref_sink(GTK_OBJECT(sheet->hadjustment)); g_signal_connect(GTK_OBJECT(sheet->hadjustment), "changed", -- 2.1.0