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=BpNqVmCpV4nWkCKjNXQOHT/n/wt0NHH2lk7sZJ5l1+lnSB5c6wTkufed0j3ZZwxMix mqRBdI0oYfRnoUhzHHU3kjTo+xBMfU56Yo07zkw7Xoq6kr4pC2QKjlqA2yFGkjJS75AO QTvv5IdIbMJgqROu4GkfioVJ6dNPjBRZJyZnY34rofL1gf0daUPl1MKwaZ2mlpj0+pgm H7ARyxdRPobk2tEUrTnHHNSjaTj89NE87jbWJNoeXJKzyInKoHvoRiA68QGKDpH9r6St +u/EylJtDDH3ncA/x1W0Enig7boNk06cKCzHdGbgSwpoJTVCh2rrt9VQv7RuRdoExbd1 0/5w== X-Received: by 10.180.97.98 with SMTP id dz2mr12168715wib.26.1411038464940; Thu, 18 Sep 2014 04:07:44 -0700 (PDT) From: Riccardo Lucchese To: geda-user AT delorie DOT com Cc: Riccardo Lucchese Subject: [geda-user] [PATCH 18/43] Remove deprecated use of gtk_widget_set_size_usize() Date: Thu, 18 Sep 2014 13:06:13 +0200 Message-Id: <1411038398-10231-19-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_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