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=FYfdFRiWd1U7IoaPEXzKZ9vehzrujQp7Q/rerLpIH6E=; b=Dvp0oFR/TWDS5fT2t7ouhVzbvP3pI4UOyV+68++6zeF/Cjkv6n8GY+dX47m+XpdKTR M1mJ1cFw3ipEjUQP8adZ2rwZWa9U8xr7NsH8ldvUA/qS3CGXmjWJWvtyKpVdxwz2cHgS EpqLD/nfF1XE/H6Zy+1vRcBs+ekqQuG3c+nNyunDY+KCl8DBm3MtnUsro1lDnLG2eQ6h bZIAyN6jNe+DRax/YBTnZ61POjo/tlb/g+cW2DtjWLalVD5hgYgmGjTVUs9VkBvlXSvx pz3u9dElRNcUfZL4sv9LvPleUCaYv+W1MdPvQWUajmKQ7twQbaYbxbCLq+9oea4ruEYd P50g== X-Received: by 10.194.250.105 with SMTP id zb9mr4666763wjc.123.1413317869555; Tue, 14 Oct 2014 13:17:49 -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 02/43] Remove deprecated use of gtk_range_set_update_policy() Date: Tue, 14 Oct 2014 22:16:54 +0200 Message-Id: <1413317855-10673-3-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_range_set_update_policy has been deprecated since version 2.24 and should not be used in newly-written code." There is only one policy now that corresponds to 'continuous updates'. --- gschem/src/x_window.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/gschem/src/x_window.c b/gschem/src/x_window.c index 2592aff..40faac7 100644 --- a/gschem/src/x_window.c +++ b/gschem/src/x_window.c @@ -233,8 +233,6 @@ void x_window_create_main(GschemToplevel *w_current) GtkWidget *menubar=NULL; GtkWidget *toolbar=NULL; GtkWidget *handlebox=NULL; - GtkWidget *hscrollbar; - GtkWidget *vscrollbar; GtkAdjustment *hadjustment; GtkAdjustment *vadjustment; char *right_button_text; @@ -419,12 +417,6 @@ void x_window_create_main(GschemToplevel *w_current) policy = (w_current->scrollbars_flag) ? GTK_POLICY_ALWAYS : GTK_POLICY_NEVER; gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (w_current->scrolled), policy, policy); - hscrollbar = gtk_scrolled_window_get_hscrollbar (GTK_SCROLLED_WINDOW (w_current->scrolled)); - gtk_range_set_update_policy (GTK_RANGE (hscrollbar), GTK_UPDATE_CONTINUOUS); - - vscrollbar = gtk_scrolled_window_get_vscrollbar (GTK_SCROLLED_WINDOW (w_current->scrolled)); - gtk_range_set_update_policy (GTK_RANGE (vscrollbar), GTK_UPDATE_CONTINUOUS); - /* macro box */ w_current->macro_widget = GTK_WIDGET (g_object_new (GSCHEM_TYPE_MACRO_WIDGET, NULL)); -- 2.1.0