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=OPpDSNHkSEK+XwKx6aeEih23nv/gWd74ypGT6omQ/ww=; | |
b=XHw1EYPjJMoXAeC/EjyFi3RzNYVvt4+aLGxnAcwvq/9lPed17VfTIlpLXjvw3wLqCp | |
G3oVu2bx2LFRguAYX0yU7IEjV6yTUZMk/wiUTzBEukJLv9h8jT5A8OhOyjU+bScdS4Lc | |
fEwrdzT63nO5yuxUSfnGaocfab2nRsaNhTUxSjiGX4ONRTy32gS5t6HtLLxwkkCIfDcT | |
XO9loJHcEjcSTSQYBGg6S48Vt7vOh78tRBxmnjhmGGaspRJdXfFec6NNMlzjxhCAgpxq | |
B5QLnBCXKdJWM3fpiLJ/OCURt8ePhSjX3gP4QTw3qmnwx2Ekt0ypRMKANcyymhL3OtJw | |
fIsg== | |
X-Received: | by 10.181.27.161 with SMTP id jh1mr7413271wid.75.1413317934638; |
Tue, 14 Oct 2014 13:18:54 -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 29/43] Remove deprecated use of gtk_menu_bar_append() |
Date: | Tue, 14 Oct 2014 22:17:21 +0200 |
Message-Id: | <1413317855-10673-30-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_menu_bar_append is deprecated and should not be used in newly-written code. Use gtk_menu_shell_append() instead." --- gschem/src/x_menus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gschem/src/x_menus.c b/gschem/src/x_menus.c index ac5b0d9..268b888 100644 --- a/gschem/src/x_menus.c +++ b/gschem/src/x_menus.c @@ -229,7 +229,7 @@ get_main_menu(GschemToplevel *w_current) gtk_widget_show (root_menu); gtk_menu_item_set_submenu (GTK_MENU_ITEM (root_menu), menu); - gtk_menu_bar_append (GTK_MENU_BAR (menu_bar), root_menu); + gtk_menu_shell_append (GTK_MENU_SHELL (menu_bar), root_menu); } scm_dynwind_end (); -- 2.1.0
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |