gnome-bluetooth r564 - trunk/common
- From: hadess svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-bluetooth r564 - trunk/common
- Date: Fri, 3 Apr 2009 17:10:36 +0000 (UTC)
Author: hadess
Date: Fri Apr 3 17:10:36 2009
New Revision: 564
URL: http://svn.gnome.org/viewvc/gnome-bluetooth?rev=564&view=rev
Log:
Enable fatal warnings by default, it's a test app
Modified:
trunk/common/test-client.c
Modified: trunk/common/test-client.c
==============================================================================
--- trunk/common/test-client.c (original)
+++ trunk/common/test-client.c Fri Apr 3 17:10:36 2009
@@ -267,8 +267,14 @@
int main(int argc, char *argv[])
{
+ GLogLevelFlags fatal_mask;
+
gtk_init(&argc, &argv);
+ fatal_mask = g_log_set_always_fatal (G_LOG_FATAL_MASK);
+ fatal_mask |= G_LOG_LEVEL_WARNING | G_LOG_LEVEL_CRITICAL;
+ g_log_set_always_fatal (fatal_mask);
+
client = bluetooth_client_new();
g_signal_connect (G_OBJECT (client), "notify::default-adapter",
G_CALLBACK (default_adapter_changed), NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]