[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

gEDA-cvs: pcb.git: branch: master updated (cddceda9372314d504f3eb65668ae831b0a23d27)



The branch, master has been updated
       via  cddceda9372314d504f3eb65668ae831b0a23d27 (commit)
      from  d96be87abe6b84c40814c71d719c136a79533a58 (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-config.c     |    2 +-
 src/hid/gtk/gui-top-window.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)


=================
 Commit Messages
=================

commit cddceda9372314d504f3eb65668ae831b0a23d27
Author: Peter Clifton <pcjc2@xxxxxxxxx>
Commit: Peter Clifton <pcjc2@xxxxxxxxx>

    hid/gtk: Don't use GTK_WIDGET_SET_FLAGS()
    
    Call the appropriate setter function instead. (For GTK3.0 compatibility).

:100644 100644 0833486... 851571a... M	src/hid/gtk/gui-config.c
:100644 100644 9c22ea2... 06eab4d... M	src/hid/gtk/gui-top-window.c

=========
 Changes
=========

commit cddceda9372314d504f3eb65668ae831b0a23d27
Author: Peter Clifton <pcjc2@xxxxxxxxx>
Commit: Peter Clifton <pcjc2@xxxxxxxxx>

    hid/gtk: Don't use GTK_WIDGET_SET_FLAGS()
    
    Call the appropriate setter function instead. (For GTK3.0 compatibility).

diff --git a/src/hid/gtk/gui-config.c b/src/hid/gtk/gui-config.c
index 0833486..851571a 100644
--- a/src/hid/gtk/gui-config.c
+++ b/src/hid/gtk/gui-config.c
@@ -2174,7 +2174,7 @@ ghid_config_window_show (void)
   gtk_box_pack_start (GTK_BOX (main_vbox), hbox, FALSE, FALSE, 0);
 
   button = gtk_button_new_from_stock (GTK_STOCK_OK);
-  GTK_WIDGET_SET_FLAGS (button, GTK_CAN_DEFAULT);
+  gtk_widget_set_can_default (button, TRUE);
   g_signal_connect (G_OBJECT (button), "clicked",
 		    G_CALLBACK (config_close_cb), NULL);
   gtk_box_pack_start (GTK_BOX (hbox), button, TRUE, TRUE, 0);
diff --git a/src/hid/gtk/gui-top-window.c b/src/hid/gtk/gui-top-window.c
index 9c22ea2..06eab4d 100644
--- a/src/hid/gtk/gui-top-window.c
+++ b/src/hid/gtk/gui-top-window.c
@@ -1271,7 +1271,7 @@ ghid_build_pcb_top_window (void)
    * enter and button press callbacks grab focus to be sure we have it
    * when in the drawing_area.
    */
-  GTK_WIDGET_SET_FLAGS (gport->drawing_area, GTK_CAN_FOCUS);
+  gtk_widget_set_can_focus (gport->drawing_area, TRUE);
 
   gtk_box_pack_start (GTK_BOX (hbox), gport->drawing_area, TRUE, TRUE, 0);
 




_______________________________________________
geda-cvs mailing list
geda-cvs@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-cvs