[glade] GladeProject: Fix verification of widgets, signals and properties for the UI
- From: Tristan Van Berkom <tvb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glade] GladeProject: Fix verification of widgets, signals and properties for the UI
- Date: Fri, 12 Apr 2013 09:53:43 +0000 (UTC)
commit 4af7ffb5086ae383d347d4c214354581796678f0
Author: Tristan Van Berkom <tristan van berkom gmail com>
Date: Fri Apr 12 18:45:40 2013 +0900
GladeProject: Fix verification of widgets, signals and properties for the UI
Needed update after adding the new flags.
gladeui/glade-project.c | 26 +++++++++++++++++++++-----
1 files changed, 21 insertions(+), 5 deletions(-)
---
diff --git a/gladeui/glade-project.c b/gladeui/glade-project.c
index 2a1af9d..5f6a952 100644
--- a/gladeui/glade-project.c
+++ b/gladeui/glade-project.c
@@ -2548,13 +2548,19 @@ glade_project_verify_property (GladeProperty *property)
project = glade_widget_get_project (widget);
if (project)
- glade_project_verify_property_internal (project, property, NULL, NULL, TRUE, FALSE);
+ glade_project_verify_property_internal (project, property, NULL, NULL, TRUE,
+ GLADE_VERIFY_VERSIONS |
+ GLADE_VERIFY_DEPRECATIONS |
+ GLADE_VERIFY_UNRECOGNIZED);
}
void
glade_project_verify_signal (GladeWidget *widget, GladeSignal *signal)
{
- glade_project_verify_signal_internal (widget, signal, NULL, NULL, TRUE, FALSE);
+ glade_project_verify_signal_internal (widget, signal, NULL, NULL, TRUE,
+ GLADE_VERIFY_VERSIONS |
+ GLADE_VERIFY_DEPRECATIONS |
+ GLADE_VERIFY_UNRECOGNIZED);
}
static void
@@ -2599,8 +2605,14 @@ glade_project_verify_properties (GladeWidget *widget)
if (!project || project->priv->loading)
return;
- glade_project_verify_properties_internal (widget, NULL, NULL, TRUE, FALSE);
- glade_project_verify_signals (widget, NULL, NULL, TRUE, FALSE);
+ glade_project_verify_properties_internal (widget, NULL, NULL, TRUE,
+ GLADE_VERIFY_VERSIONS |
+ GLADE_VERIFY_DEPRECATIONS |
+ GLADE_VERIFY_UNRECOGNIZED);
+ glade_project_verify_signals (widget, NULL, NULL, TRUE,
+ GLADE_VERIFY_VERSIONS |
+ GLADE_VERIFY_DEPRECATIONS |
+ GLADE_VERIFY_UNRECOGNIZED);
glade_widget_support_changed (widget);
}
@@ -2795,7 +2807,11 @@ glade_project_verify_widget_adaptor (GladeProject *project,
gchar *ret = NULL;
glade_project_verify_adaptor (project, adaptor, NULL,
- string, FALSE, TRUE, mask);
+ string,
+ GLADE_VERIFY_VERSIONS |
+ GLADE_VERIFY_DEPRECATIONS |
+ GLADE_VERIFY_UNRECOGNIZED,
+ TRUE, mask);
/* there was a '\0' byte... */
if (string->len > 0)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]