f-spot r4267 - in trunk: . src
- From: sdelcroix svn gnome org
- To: svn-commits-list gnome org
- Subject: f-spot r4267 - in trunk: . src
- Date: Thu, 14 Aug 2008 12:02:18 +0000 (UTC)
Author: sdelcroix
Date: Thu Aug 14 12:02:17 2008
New Revision: 4267
URL: http://svn.gnome.org/viewvc/f-spot?rev=4267&view=rev
Log:
print traces on --debug for gtk/gdkpixbuf critical errors
Modified:
trunk/ChangeLog
trunk/src/main.cs
Modified: trunk/src/main.cs
==============================================================================
--- trunk/src/main.cs (original)
+++ trunk/src/main.cs Thu Aug 14 12:02:17 2008
@@ -69,10 +69,6 @@
bool slideshow = false;
string import_uri = null;
- // Debug GdkPixbuf critical warnings
- //LogFunc logFunc = new GLib.LogFunc (GLib.Log.PrintTraceLogFunction);
- //Log.SetLogHandler ("GdkPixbuf", GLib.LogLevelFlags.Critical, logFunc);
-
program = new Program (Defines.PACKAGE,
Defines.VERSION,
Modules.UI, args);
@@ -144,6 +140,13 @@
case "--debug":
Log.Debugging = true;
+ // Debug GdkPixbuf critical warnings
+ GLib.LogFunc logFunc = new GLib.LogFunc (GLib.Log.PrintTraceLogFunction);
+ GLib.Log.SetLogHandler ("GdkPixbuf", GLib.LogLevelFlags.Critical, logFunc);
+
+ // Debug Gtk critical warnings
+ GLib.Log.SetLogHandler ("Gtk", GLib.LogLevelFlags.Critical, logFunc);
+
break;
case "--uninstalled": case "--gdb":
break;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]