Mercurial > pidgin
comparison src/gtkrequest.c @ 7951:d40e91c32acf
[gaim-migrate @ 8625]
Remove some debugging lines. These had been debugging me for a while.
Yeah not really, I just wanted to say that.
Sorry.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Mon, 29 Dec 2003 06:16:13 +0000 |
parents | 1fb7a840b5c7 |
children | a5c70e43ee43 |
comparison
equal
deleted
inserted
replaced
7950:7b8407d8c546 | 7951:d40e91c32acf |
---|---|
20 * along with this program; if not, write to the Free Software | 20 * along with this program; if not, write to the Free Software |
21 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | 21 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
22 */ | 22 */ |
23 #include "gtkinternal.h" | 23 #include "gtkinternal.h" |
24 | 24 |
25 #include "debug.h" | |
26 #include "prefs.h" | 25 #include "prefs.h" |
27 | 26 |
28 #include "gtkrequest.h" | 27 #include "gtkrequest.h" |
29 #include "gtkutils.h" | 28 #include "gtkutils.h" |
30 #include "stock.h" | 29 #include "stock.h" |
105 field_string_focus_out_cb(GtkWidget *entry, GdkEventFocus *event, | 104 field_string_focus_out_cb(GtkWidget *entry, GdkEventFocus *event, |
106 GaimRequestField *field) | 105 GaimRequestField *field) |
107 { | 106 { |
108 const char *value; | 107 const char *value; |
109 | 108 |
110 gaim_debug(GAIM_DEBUG_MISC, "gtkrequest", "field_string_focus_out_cb\n"); | |
111 | |
112 if (gaim_request_field_string_is_multiline(field)) { | 109 if (gaim_request_field_string_is_multiline(field)) { |
113 GtkTextBuffer *buffer; | 110 GtkTextBuffer *buffer; |
114 GtkTextIter start_iter, end_iter; | 111 GtkTextIter start_iter, end_iter; |
115 | 112 |
116 buffer = gtk_text_view_get_buffer(GTK_TEXT_VIEW(entry)); | 113 buffer = gtk_text_view_get_buffer(GTK_TEXT_VIEW(entry)); |
121 value = gtk_text_buffer_get_text(buffer, &start_iter, &end_iter, FALSE); | 118 value = gtk_text_buffer_get_text(buffer, &start_iter, &end_iter, FALSE); |
122 } | 119 } |
123 else | 120 else |
124 value = gtk_entry_get_text(GTK_ENTRY(entry)); | 121 value = gtk_entry_get_text(GTK_ENTRY(entry)); |
125 | 122 |
126 gaim_debug(GAIM_DEBUG_MISC, "gtkrequest", "'%s' = '%s'\n", | |
127 gaim_request_field_get_id(field), value); | |
128 gaim_request_field_string_set_value(field, | 123 gaim_request_field_string_set_value(field, |
129 (*value == '\0' ? NULL : value)); | 124 (*value == '\0' ? NULL : value)); |
130 | 125 |
131 return FALSE; | 126 return FALSE; |
132 } | 127 } |