| www.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=ZElzX+piZbciRy6dH4uQm4BzIULoMQzww2Cstdfh9Yk=; | |
| b=ScQDY5SbRuw3Cm+p6Otu5gLjuXvdLKbF8V4wFhVtlNkABt6IfOsUEwhPLkWIrswWpv | |
| sogbcHhSR2pDw3iluPL/YvUz5W2McVhsi9WjcH7JVQwv/yfMeOK11th1tY+E3/vB0oFc | |
| hZy2EI8aNUHHKF1PtcTj1AKINZmjgSLgApzlnXNzbsi+dBRRa8zeC7ysy/wN2crw/u4U | |
| cDCzpxB6vSUYHqlBJRhY57XNqqkqzztovPseNsnlK+CHOdv4DbjH60PnocvOCFDi4eQq | |
| L+ZF+Da6NNup3uYA5q2NPJwriBAzXjl2xRWKbW1lq7CFflhQJXNjwi1rDx3lCWY0Knh6 | |
| FWHw== | |
| X-Received: | by 10.194.78.243 with SMTP id e19mr2544105wjx.119.1411038526483; |
| Thu, 18 Sep 2014 04:08:46 -0700 (PDT) | |
| From: | Riccardo Lucchese <riccardo DOT lucchese AT gmail DOT com> |
| To: | geda-user AT delorie DOT com |
| Cc: | Riccardo Lucchese <riccardo DOT lucchese AT gmail DOT com> |
| Subject: | [geda-user] [PATCH 37/43] Remove deprecated use of GTK_SIGNAL_FUNC() |
| Date: | Thu, 18 Sep 2014 13:06:32 +0200 |
| Message-Id: | <1411038398-10231-38-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 |
Verbatim from Gtk+ 2 Reference Manual: "GTK_SIGNAL_FUNC is deprecated and should not be used in newly-written code." Use G_CALLBACK instead. --- gattrib/src/x_window.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gattrib/src/x_window.c b/gattrib/src/x_window.c index c74fe6d..6595c48 100644 --- a/gattrib/src/x_window.c +++ b/gattrib/src/x_window.c @@ -94,7 +94,7 @@ x_window_init() gtk_window_set_default_size(GTK_WINDOW(window), 750, 600); g_signal_connect(GTK_OBJECT(window), "delete_event", - GTK_SIGNAL_FUNC(gattrib_really_quit), 0); + G_CALLBACK(gattrib_really_quit), 0); /* ----- Now create main_vbox. This is a container which organizes child ----- */ /* ----- widgets into a vertical column. ----- */ -- 2.1.0
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |