anjuta r3690 - in trunk: . plugins/debug-manager
- From: sgranjoux svn gnome org
- To: svn-commits-list gnome org
- Subject: anjuta r3690 - in trunk: . plugins/debug-manager
- Date: Mon, 18 Feb 2008 21:16:45 +0000 (GMT)
Author: sgranjoux
Date: Mon Feb 18 21:16:45 2008
New Revision: 3690
URL: http://svn.gnome.org/viewvc/anjuta?rev=3690&view=rev
Log:
* plugins/debug-manager/start.c:
Avoid a glib warning if no project is loaded
Modified:
trunk/ChangeLog
trunk/plugins/debug-manager/start.c
Modified: trunk/plugins/debug-manager/start.c
==============================================================================
--- trunk/plugins/debug-manager/start.c (original)
+++ trunk/plugins/debug-manager/start.c Mon Feb 18 21:16:45 2008
@@ -930,7 +930,7 @@
gtk_combo_box_entry_set_text_column( GTK_COMBO_BOX_ENTRY(target), 0);
anjuta_shell_get_value (this->plugin->shell, "project_root_uri", &value, NULL);
- project_root_uri = g_value_get_string (&value);
+ project_root_uri = G_VALUE_HOLDS_STRING (&value) ? g_value_get_string (&value) : NULL;
if (project_root_uri != NULL)
{
/* One project loaded, get all executable target */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]