[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
gEDA-cvs: pcb.git: branch: master updated (8ef7b4b33178969b030df5cb9214b0c3c49ea593)
The branch, master has been updated
via 8ef7b4b33178969b030df5cb9214b0c3c49ea593 (commit)
via d7d467baa898c03fbbe1016063b37e94f8bbba88 (commit)
from 52e26d712cb5a640e11884b6cf663d9025f15fdc (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
=========
Summary
=========
src/hid/gtk/gui-top-window.c | 8 ++------
src/hid/gtk/gui-utils.c | 4 ++--
2 files changed, 4 insertions(+), 8 deletions(-)
=================
Commit Messages
=================
commit 8ef7b4b33178969b030df5cb9214b0c3c49ea593
Author: Peter Clifton <pcjc2@xxxxxxxxx>
Commit: Peter Clifton <pcjc2@xxxxxxxxx>
hid/gtk: Remove usage of deprecated gtk_range_set_update_policy()
We only set this to the default value anyway, and the API has been
removed with no replacements.
:100644 100644 cf05e4b... 73bada5... M src/hid/gtk/gui-top-window.c
commit d7d467baa898c03fbbe1016063b37e94f8bbba88
Author: Peter Clifton <pcjc2@xxxxxxxxx>
Commit: Peter Clifton <pcjc2@xxxxxxxxx>
hid/gtk: Replace gtk_container_border_width with gtk_container_set_border_width
Replaces the old deprecated API.
:100644 100644 2c76a0a... cf05e4b... M src/hid/gtk/gui-top-window.c
:100644 100644 0ea661b... 3be7931... M src/hid/gtk/gui-utils.c
=========
Changes
=========
commit 8ef7b4b33178969b030df5cb9214b0c3c49ea593
Author: Peter Clifton <pcjc2@xxxxxxxxx>
Commit: Peter Clifton <pcjc2@xxxxxxxxx>
hid/gtk: Remove usage of deprecated gtk_range_set_update_policy()
We only set this to the default value anyway, and the API has been
removed with no replacements.
diff --git a/src/hid/gtk/gui-top-window.c b/src/hid/gtk/gui-top-window.c
index cf05e4b..73bada5 100644
--- a/src/hid/gtk/gui-top-window.c
+++ b/src/hid/gtk/gui-top-window.c
@@ -1280,8 +1280,6 @@ ghid_build_pcb_top_window (void)
ghidgui->v_range =
gtk_vscrollbar_new (GTK_ADJUSTMENT (ghidgui->v_adjustment));
- gtk_range_set_update_policy (GTK_RANGE (ghidgui->v_range),
- GTK_UPDATE_CONTINUOUS);
gtk_box_pack_start (GTK_BOX (hbox), ghidgui->v_range, FALSE, FALSE, 0);
g_signal_connect (G_OBJECT (ghidgui->v_adjustment), "value_changed",
@@ -1291,8 +1289,6 @@ ghid_build_pcb_top_window (void)
10.0, 10.0, 10.0);
ghidgui->h_range =
gtk_hscrollbar_new (GTK_ADJUSTMENT (ghidgui->h_adjustment));
- gtk_range_set_update_policy (GTK_RANGE (ghidgui->h_range),
- GTK_UPDATE_CONTINUOUS);
gtk_box_pack_start (GTK_BOX (ghidgui->vbox_middle),
ghidgui->h_range, FALSE, FALSE, 0);
commit d7d467baa898c03fbbe1016063b37e94f8bbba88
Author: Peter Clifton <pcjc2@xxxxxxxxx>
Commit: Peter Clifton <pcjc2@xxxxxxxxx>
hid/gtk: Replace gtk_container_border_width with gtk_container_set_border_width
Replaces the old deprecated API.
diff --git a/src/hid/gtk/gui-top-window.c b/src/hid/gtk/gui-top-window.c
index 2c76a0a..cf05e4b 100644
--- a/src/hid/gtk/gui-top-window.c
+++ b/src/hid/gtk/gui-top-window.c
@@ -676,7 +676,7 @@ make_cursor_position_labels (GtkWidget * hbox, GHidPort * port)
*/
frame = gtk_frame_new (NULL);
gtk_box_pack_end (GTK_BOX (hbox), frame, FALSE, TRUE, 0);
- gtk_container_border_width (GTK_CONTAINER (frame), 2);
+ gtk_container_set_border_width (GTK_CONTAINER (frame), 2);
gtk_frame_set_shadow_type (GTK_FRAME (frame), GTK_SHADOW_ETCHED_OUT);
label = gtk_label_new ("");
@@ -690,7 +690,7 @@ make_cursor_position_labels (GtkWidget * hbox, GHidPort * port)
*/
frame = gtk_frame_new (NULL);
gtk_box_pack_end (GTK_BOX (hbox), frame, FALSE, TRUE, 0);
- gtk_container_border_width (GTK_CONTAINER (frame), 2);
+ gtk_container_set_border_width (GTK_CONTAINER (frame), 2);
gtk_frame_set_shadow_type (GTK_FRAME (frame), GTK_SHADOW_ETCHED_OUT);
label = gtk_label_new (" __.__ __.__ ");
gtk_container_add (GTK_CONTAINER (frame), label);
diff --git a/src/hid/gtk/gui-utils.c b/src/hid/gtk/gui-utils.c
index 0ea661b..3be7931 100644
--- a/src/hid/gtk/gui-utils.c
+++ b/src/hid/gtk/gui-utils.c
@@ -534,7 +534,7 @@ ghid_framed_vbox (GtkWidget * box, gchar * label, gint frame_border_width,
gtk_container_set_border_width (GTK_CONTAINER (frame), frame_border_width);
gtk_box_pack_start (GTK_BOX (box), frame, frame_expand, frame_expand, 0);
vbox = gtk_vbox_new (FALSE, vbox_pad);
- gtk_container_border_width (GTK_CONTAINER (vbox), vbox_border_width);
+ gtk_container_set_border_width (GTK_CONTAINER (vbox), vbox_border_width);
gtk_container_add (GTK_CONTAINER (frame), vbox);
return vbox;
}
@@ -551,7 +551,7 @@ ghid_framed_vbox_end (GtkWidget * box, gchar * label, gint frame_border_width,
gtk_container_set_border_width (GTK_CONTAINER (frame), frame_border_width);
gtk_box_pack_end (GTK_BOX (box), frame, frame_expand, frame_expand, 0);
vbox = gtk_vbox_new (FALSE, vbox_pad);
- gtk_container_border_width (GTK_CONTAINER (vbox), vbox_border_width);
+ gtk_container_set_border_width (GTK_CONTAINER (vbox), vbox_border_width);
gtk_container_add (GTK_CONTAINER (frame), vbox);
return vbox;
}
_______________________________________________
geda-cvs mailing list
geda-cvs@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-cvs