Mercurial > pidgin.yaz
diff src/gtkutils.c @ 10566:62fc579810f4
[gaim-migrate @ 11949]
Mostly some whitespace cleanups, a couple of documentation fixes/cleanups.
I also removed toggle_sensitive() since it was duplicated a couple lines down.
committer: Tailor Script <tailor@pidgin.im>
author | Etan Reisner <pidgin@unreliablesource.net> |
---|---|
date | Wed, 02 Feb 2005 17:13:41 +0000 |
parents | 1a97d5e88d12 |
children | 896efbdc74e2 |
line wrap: on
line diff
--- a/src/gtkutils.c Wed Feb 02 00:07:18 2005 +0000 +++ b/src/gtkutils.c Wed Feb 02 17:13:41 2005 +0000 @@ -167,14 +167,6 @@ } void -toggle_sensitive(GtkWidget *widget, GtkWidget *to_toggle) -{ - gboolean sensitivity = GTK_WIDGET_IS_SENSITIVE(to_toggle); - - gtk_widget_set_sensitive(to_toggle, !sensitivity); -} - -void gaim_gtk_set_sensitive_if_input(GtkWidget *entry, GtkWidget *dialog) { const char *text = gtk_entry_get_text(GTK_ENTRY(entry));