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

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



The branch, master has been updated
       via  3073ecedc2ea25b2f1f65b54032d2ae3b444671c (commit)
       via  29c9c84b025f13687f99974b255ef3c365a129ef (commit)
      from  9b803f2740021a18ae37f89b341efb87fad39786 (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-utils.c |   15 ---------------
 src/hid/gtk/gui.h       |    2 --
 2 files changed, 0 insertions(+), 17 deletions(-)


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

commit 3073ecedc2ea25b2f1f65b54032d2ae3b444671c
Author: Peter Clifton <pcjc2@xxxxxxxxx>
Commit: Peter Clifton <pcjc2@xxxxxxxxx>

    hid/gtk: Remove unused function ghid_button_set_text()

:100644 100644 605d1a4... e4e97fa... M	src/hid/gtk/gui-utils.c
:100644 100644 73e970e... dfed2c6... M	src/hid/gtk/gui.h

commit 29c9c84b025f13687f99974b255ef3c365a129ef
Author: Peter Clifton <pcjc2@xxxxxxxxx>
Commit: Peter Clifton <pcjc2@xxxxxxxxx>

    hid/gtk: Remove unused function ghid_button_active()

:100644 100644 db61f77... 605d1a4... M	src/hid/gtk/gui-utils.c
:100644 100644 4fa67a7... 73e970e... M	src/hid/gtk/gui.h

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

commit 3073ecedc2ea25b2f1f65b54032d2ae3b444671c
Author: Peter Clifton <pcjc2@xxxxxxxxx>
Commit: Peter Clifton <pcjc2@xxxxxxxxx>

    hid/gtk: Remove unused function ghid_button_set_text()

diff --git a/src/hid/gtk/gui-utils.c b/src/hid/gtk/gui-utils.c
index 605d1a4..e4e97fa 100644
--- a/src/hid/gtk/gui-utils.c
+++ b/src/hid/gtk/gui-utils.c
@@ -191,15 +191,6 @@ ghid_map_color_string (char *color_string, GdkColor * color)
 }
 
 
-void
-ghid_button_set_text (GtkWidget * button, gchar * text)
-{
-  GtkWidget *label = gtk_bin_get_child (GTK_BIN (button));
-
-  gtk_label_set_text (GTK_LABEL (label), text);
-}
-
-
 gchar *
 ghid_entry_get_text (GtkWidget * entry)
 {
diff --git a/src/hid/gtk/gui.h b/src/hid/gtk/gui.h
index 73e970e..dfed2c6 100644
--- a/src/hid/gtk/gui.h
+++ b/src/hid/gtk/gui.h
@@ -357,7 +357,6 @@ gboolean ghid_shift_is_pressed (void);
 void ghid_draw_area_update (GHidPort * out, GdkRectangle * rect);
 gchar *ghid_get_color_name (GdkColor * color);
 void ghid_map_color_string (gchar * color_string, GdkColor * color);
-void ghid_button_set_text (GtkWidget * button, gchar * text);
 gchar *ghid_entry_get_text (GtkWidget * entry);
 void ghid_check_button_connected (GtkWidget * box, GtkWidget ** button,
 				  gboolean active, gboolean pack_start,

commit 29c9c84b025f13687f99974b255ef3c365a129ef
Author: Peter Clifton <pcjc2@xxxxxxxxx>
Commit: Peter Clifton <pcjc2@xxxxxxxxx>

    hid/gtk: Remove unused function ghid_button_active()

diff --git a/src/hid/gtk/gui-utils.c b/src/hid/gtk/gui-utils.c
index db61f77..605d1a4 100644
--- a/src/hid/gtk/gui-utils.c
+++ b/src/hid/gtk/gui-utils.c
@@ -200,12 +200,6 @@ ghid_button_set_text (GtkWidget * button, gchar * text)
 }
 
 
-gboolean
-ghid_button_active (GtkWidget * widget)
-{
-  return GTK_TOGGLE_BUTTON (widget)->active;
-}
-
 gchar *
 ghid_entry_get_text (GtkWidget * entry)
 {
diff --git a/src/hid/gtk/gui.h b/src/hid/gtk/gui.h
index 4fa67a7..73e970e 100644
--- a/src/hid/gtk/gui.h
+++ b/src/hid/gtk/gui.h
@@ -358,7 +358,6 @@ void ghid_draw_area_update (GHidPort * out, GdkRectangle * rect);
 gchar *ghid_get_color_name (GdkColor * color);
 void ghid_map_color_string (gchar * color_string, GdkColor * color);
 void ghid_button_set_text (GtkWidget * button, gchar * text);
-gboolean ghid_button_active (GtkWidget * widget);
 gchar *ghid_entry_get_text (GtkWidget * entry);
 void ghid_check_button_connected (GtkWidget * box, GtkWidget ** button,
 				  gboolean active, gboolean pack_start,




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