pidgin: 9d485069: Quiet the output from gconftool-2 when t...
nosnilmot at pidgin.im
nosnilmot at pidgin.im
Wed May 7 16:30:44 EDT 2008
-----------------------------------------------------------------
Revision: 9d485069f1ac3689890b946c003dba59bfe5748b
Ancestor: 070f6fdcb1f05cf7712346380a3755e800301c13
Author: nosnilmot at pidgin.im
Date: 2008-05-07T20:24:12
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/9d485069f1ac3689890b946c003dba59bfe5748b
Modified files:
pidgin/gtkutils.c
ChangeLog:
Quiet the output from gconftool-2 when there is no document font name in
the schema
-------------- next part --------------
============================================================
--- pidgin/gtkutils.c f10cc15bc9d45b63d1c3d5d5499269142d43f7ba
+++ pidgin/gtkutils.c 1f7ab27c066ae4b3881c19703dc4fc81239f3db3
@@ -116,12 +116,14 @@ pidgin_setup_imhtml(GtkWidget *imhtml)
if ((path = g_find_program_in_path("gconftool-2"))) {
char *font = NULL;
+ char *err = NULL;
g_free(path);
if (g_spawn_command_line_sync(
"gconftool-2 -g /desktop/gnome/interface/document_font_name",
- &font, NULL, NULL, NULL)) {
+ &font, &err, NULL, NULL)) {
desc = pango_font_description_from_string(font);
}
+ g_free(err);
g_free(font);
}
}
More information about the Commits
mailing list