Mercurial > pidgin
comparison finch/libgnt/gntbindable.c @ 24558:e2e57d3c0578
Use glib log functions to show error messages.
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Fri, 28 Nov 2008 06:29:37 +0000 |
parents | 24dfef623410 |
children | a8cc50c2279f |
comparison
equal
deleted
inserted
replaced
24557:7b27f7c41d85 | 24558:e2e57d3c0578 |
---|---|
20 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA | 20 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA |
21 */ | 21 */ |
22 | 22 |
23 #include <string.h> | 23 #include <string.h> |
24 | 24 |
25 #include "gntinternal.h" | |
26 #undef GNT_LOG_DOMAIN | |
27 #define GNT_LOG_DOMAIN "Bindable" | |
28 | |
25 #include "gntbindable.h" | 29 #include "gntbindable.h" |
26 #include "gntstyle.h" | 30 #include "gntstyle.h" |
27 #include "gnt.h" | 31 #include "gnt.h" |
28 #include "gntutils.h" | 32 #include "gntutils.h" |
29 #include "gnttextview.h" | 33 #include "gnttextview.h" |
358 return; | 362 return; |
359 } | 363 } |
360 | 364 |
361 action = g_hash_table_lookup(klass->actions, name); | 365 action = g_hash_table_lookup(klass->actions, name); |
362 if (!action) { | 366 if (!action) { |
363 g_printerr("GntBindable: Invalid action name %s for %s\n", | 367 gnt_warning("Invalid action name %s for %s", |
364 name, g_type_name(G_OBJECT_CLASS_TYPE(klass))); | 368 name, g_type_name(G_OBJECT_CLASS_TYPE(klass))); |
365 if (list) | 369 if (list) |
366 g_list_free(list); | 370 g_list_free(list); |
367 return; | 371 return; |
368 } | 372 } |