r2255 - trunk/src/target/OM-2007/openmoko-libs/libmokoui

mickey at sita.openmoko.org mickey at sita.openmoko.org
Thu Jun 14 14:18:14 CEST 2007


Author: mickey
Date: 2007-06-14 14:18:09 +0200 (Thu, 14 Jun 2007)
New Revision: 2255

Modified:
   trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-banner.c
   trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-banner.h
Log:
mokoui: add error reporting on initializing xosd


Modified: trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-banner.c
===================================================================
--- trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-banner.c	2007-06-14 10:16:34 UTC (rev 2254)
+++ trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-banner.c	2007-06-14 12:18:09 UTC (rev 2255)
@@ -5,8 +5,8 @@
  *  Copyright (C) 2007 OpenMoko, Inc.
  *
  *  This program is free software; you can redistribute it and/or modify
- *  it under the terms of the GNU Public License as published by
- *  the Free Software Foundation; version 2.1 of the license.
+ *  it under the terms of the GNU Lesser Public License as published by
+ *  the Free Software Foundation; version 2 of the license.
  *
  *  This program is distributed in the hope that it will be useful,
  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -78,7 +78,7 @@
     /* initialize libxosd and configure defaults */
     klass->osd = xosd_create( 2 );
     if ( !klass->osd )
-        g_warning( "Could not create libxosd contect. On Screen Display won't be available" );
+        g_warning( "Could not create libxosd contect (%s). On Screen Display won't be available", xosd_error );
     else
     {
         xosd_set_font( klass->osd, "-bitstream-bitstream vera sans-*-r-*-*-*-200-*-*" );

Modified: trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-banner.h
===================================================================
--- trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-banner.h	2007-06-14 10:16:34 UTC (rev 2254)
+++ trunk/src/target/OM-2007/openmoko-libs/libmokoui/moko-banner.h	2007-06-14 12:18:09 UTC (rev 2255)
@@ -5,8 +5,8 @@
  *  Copyright (C) 2007 Vanille-Media
  *
  *  This program is free software; you can redistribute it and/or modify
- *  it under the terms of the GNU Public License as published by
- *  the Free Software Foundation; version 2.1 of the license.
+ *  it under the terms of the GNU Lesser Public License as published by
+ *  the Free Software Foundation; version 2 of the license.
  *
  *  This program is distributed in the hope that it will be useful,
  *  but WITHOUT ANY WARRANTY; without even the implied warranty of





More information about the commitlog mailing list