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=3A6k5juO1zIOQnn1c2tho+AaU7bcGxfDQ4hlHZzpX1o=; b=ImL8XndAS7vYz5YpJXv3/aBwnLhmSUFXGrKz3plU6j6BDPZBYPIzeVYTHDe46/DVfQ BfMOx33i4xEKNaqqjC6dhEh+Dna/XydqDPgyvQ9pdx9+fegjYZ2EUJrby7VkLGSthguT M2GUYbXDPbQGXRoxZv2+b7Ryb03aOJLKu/FxFvPrcVfAWs8wawlAwBLdZ0OUp3+S5db/ NgisYbebSp1DK3yOpPBFW8qU3NM0DcOdrKJhWtdMxqb0Oxuqeh/wcLfn79Y+k/pW1Zmb wismLKjRrzXCABduaP0j3QzjqJwx4/5cjBQ6ZKlrXARKWLPNwOv9AUjrSjr1os6c0ySZ X12w== X-Received: by 10.194.240.68 with SMTP id vy4mr7669030wjc.36.1413317901492; Tue, 14 Oct 2014 13:18:21 -0700 (PDT) From: Riccardo Lucchese To: geda-user AT delorie DOT com Cc: paubert AT iram DOT es, Riccardo Lucchese Subject: [geda-user] [PATCH V2 18/43] Remove deprecated use of gtk_widget_set_size_usize() Date: Tue, 14 Oct 2014 22:17:10 +0200 Message-Id: <1413317855-10673-19-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 Precedence: bulk Verbatim from Gtk+ 2 Reference Manual: "gtk_widget_set_usize has been deprecated since version 2.2 and should not be used in newly-written code. Use gtk_widget_set_size_request() instead." --- gschem/src/x_dialog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gschem/src/x_dialog.c b/gschem/src/x_dialog.c index c1b360b..fcc0381 100644 --- a/gschem/src/x_dialog.c +++ b/gschem/src/x_dialog.c @@ -682,7 +682,7 @@ void x_dialog_hotkeys (GschemToplevel *w_current) gtk_container_set_border_width(GTK_CONTAINER(w_current->hkwindow), DIALOG_BORDER_SPACING); - gtk_widget_set_usize(w_current->hkwindow, 300,300); + gtk_widget_set_size_request(w_current->hkwindow, 300, 300); vbox = GTK_DIALOG(w_current->hkwindow)->vbox; gtk_box_set_spacing(GTK_BOX(vbox), DIALOG_V_SPACING); -- 2.1.0