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=Ezs7L/EUNsQyJxm2RfoD728UL9z3oG3EqbHu4fWsfII=; b=F1AciiSM0Nj8LxLfR9L5wzMCam/dsv9tec8hI6q3NHku9e4PGYWSR2goD+9u0vwvG7 NSWvXZSpphpEIYS4/Jnjizd0/htxunsVKRN1R2RjBNc2gJg4kB8Fof4TRhqbecWkrO3h VbdqQd7GfejUQNvwHKS41gs/LekHhKHBCY3BkmKziGIYqNPV32gD0WOpj73TUwa6DTlH oaKqklbFE0HFUoXf/OT7T3XhF6HUQeTV8x41ZrA3UAmSsHeCNMA/YC+pZ6llydea3jPL VxRJDFA+qwqzsulO/xjkOP3MKkSSi59zBcx1wo5aCcDR8DLPJFz+oFpifSvafj+Vpo1Y aM8g== X-Received: by 10.194.76.195 with SMTP id m3mr1581375wjw.136.1411038493541; Thu, 18 Sep 2014 04:08:13 -0700 (PDT) From: Riccardo Lucchese To: geda-user AT delorie DOT com Cc: Riccardo Lucchese Subject: [geda-user] [PATCH 27/43] Remove deprecated use of gtk_toolbar_set_orientation() Date: Thu, 18 Sep 2014 13:06:22 +0200 Message-Id: <1411038398-10231-28-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_toolbar_set_orientation has been deprecated since version 2.16 and should not be used in newly-written code. Use gtk_orientable_set_orientation() instead." --- gschem/src/x_window.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gschem/src/x_window.c b/gschem/src/x_window.c index 18da46e..4852647 100644 --- a/gschem/src/x_window.c +++ b/gschem/src/x_window.c @@ -297,8 +297,8 @@ void x_window_create_main(GschemToplevel *w_current) if (w_current->toolbars) { toolbar = gtk_toolbar_new(); - gtk_toolbar_set_orientation (GTK_TOOLBAR(toolbar), - GTK_ORIENTATION_HORIZONTAL); + gtk_orientable_set_orientation(GTK_ORIENTABLE(toolbar), + GTK_ORIENTATION_HORIZONTAL); gtk_toolbar_set_style (GTK_TOOLBAR(toolbar), GTK_TOOLBAR_ICONS); if (w_current->handleboxes) { -- 2.1.0