Mercurial > geeqie.yaz
diff src/lirc.c @ 1305:2abdd6e50120
Glibification.
author | zas_ |
---|---|
date | Sat, 21 Feb 2009 18:04:52 +0000 |
parents | 0b94f0e6e3d0 |
children | 24a12aa0cb54 |
line wrap: on
line diff
--- a/src/lirc.c Sat Feb 21 10:53:18 2009 +0000 +++ b/src/lirc.c Sat Feb 21 18:04:52 2009 +0000 @@ -1,3 +1,11 @@ +/* + * Geeqie + * Copyright (C) 2008 - 2009 The Geeqie Team + * + */ + +#include <glib/gprintf.h> + #include "lirc.h" #include "misc.h" @@ -182,7 +190,7 @@ if (ret == -1) { /* something went badly wrong */ - fprintf(stderr, _("disconnected from LIRC\n")); + g_fprintf(stderr, _("disconnected from LIRC\n")); lirc_cleanup(); return (gboolean)FALSE; } @@ -197,13 +205,13 @@ lirc_fd = lirc_init(GQ_APPNAME_LC, get_debug_level() > 0); if (lirc_fd == -1) { - fprintf(stderr, _("Could not init LIRC support\n")); + g_fprintf(stderr, _("Could not init LIRC support\n")); return; } if (lirc_readconfig(NULL, &config, NULL) == -1) { lirc_deinit(); - fprintf(stderr, + g_fprintf(stderr, _("could not read LIRC config file\n" "please read the documentation of LIRC to \n" "know how to create a proper config file\n"));