[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
gEDA-cvs: pcb.git: branch: master updated (d96be87abe6b84c40814c71d719c136a79533a58)
The branch, master has been updated
via d96be87abe6b84c40814c71d719c136a79533a58 (commit)
from 3073ecedc2ea25b2f1f65b54032d2ae3b444671c (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-library-window.c | 5 +----
1 files changed, 1 insertions(+), 4 deletions(-)
=================
Commit Messages
=================
commit d96be87abe6b84c40814c71d719c136a79533a58
Author: Peter Clifton <pcjc2@xxxxxxxxx>
Commit: Peter Clifton <pcjc2@xxxxxxxxx>
hid/gtk: Don't test for NOOP before calling gtk_widget_set_sensitive()
We were using a deprecated test macro anyway, GTK already does a NOOP
test inside gtk_widget_set_sensitive().
:100644 100644 2cda08e... c709dbc... M src/hid/gtk/gui-library-window.c
=========
Changes
=========
commit d96be87abe6b84c40814c71d719c136a79533a58
Author: Peter Clifton <pcjc2@xxxxxxxxx>
Commit: Peter Clifton <pcjc2@xxxxxxxxx>
hid/gtk: Don't test for NOOP before calling gtk_widget_set_sensitive()
We were using a deprecated test macro anyway, GTK already does a NOOP
test inside gtk_widget_set_sensitive().
diff --git a/src/hid/gtk/gui-library-window.c b/src/hid/gtk/gui-library-window.c
index 2cda08e..c709dbc 100644
--- a/src/hid/gtk/gui-library-window.c
+++ b/src/hid/gtk/gui-library-window.c
@@ -474,10 +474,7 @@ library_window_callback_filter_entry_changed (GtkEditable * editable,
sensitive =
(g_ascii_strcasecmp (gtk_entry_get_text (library_window->entry_filter),
"") != 0);
- if (GTK_WIDGET_IS_SENSITIVE (button) != sensitive)
- {
- gtk_widget_set_sensitive (button, sensitive);
- }
+ gtk_widget_set_sensitive (button, sensitive);
/* Cancel any pending update of the footprint list filter */
if (library_window->filter_timeout != 0)
_______________________________________________
geda-cvs mailing list
geda-cvs@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-cvs