Commit d8fa732d authored by Sebastien Granjoux's avatar Sebastien Granjoux

project-manager: Fix a crash when displaying properties dialog due to Gtk+3

parent 12fcdcc7
......@@ -699,9 +699,9 @@ pm_project_create_properties_dialog (AnjutaPmProject *project, GtkWindow *parent
const char *title;
PropertiesTable *table;
GtkWidget *dialog;
GtkWidget *dialog = NULL;
g_return_val_if_fail (node != NULL, FALSE);
g_return_val_if_fail (node != NULL, NULL);
switch (anjuta_project_node_get_node_type (node))
......@@ -718,7 +718,7 @@ pm_project_create_properties_dialog (AnjutaPmProject *project, GtkWindow *parent
title = _("Source properties");
return FALSE;
return NULL;
table = create_properties_table (project->project, node);
......@@ -720,8 +720,9 @@
<object class="GtkComboBoxEntry" id="module_entry">
<object class="GtkComboBoxText" id="module_entry">
<property name="visible">True</property>
<property name="has-entry">True</property>
<property name="position">1</property>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment