summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Van Berkom <tvb@src.gnome.org>2006-01-31 03:27:15 +0000
committerTristan Van Berkom <tvb@src.gnome.org>2006-01-31 03:27:15 +0000
commit4fb106daaae7b42fd049893ddbc7c8f18589caa7 (patch)
tree787f324d2444b21ccab7c08d4320b8228a6808f9
parentc86edf977855d284fd095f13a8bcbb056d2e5cae (diff)
downloadglade-4fb106daaae7b42fd049893ddbc7c8f18589caa7.tar.gz
Fixed a stupid segfault typicly in strcmp().
* src/glade-project.c: Fixed a stupid segfault typicly in strcmp(). * TODO: first go at blockers for glade-3 beta release.
-rw-r--r--ChangeLog7
-rw-r--r--TODO25
-rw-r--r--src/glade-project.c5
3 files changed, 36 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index b9526f60..cbf61a08 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2006-01-30 Tristan Van Berkom <tvb@gnome.org>
+
+ * src/glade-project.c: Fixed a stupid segfault typicly
+ in strcmp().
+
+ * TODO: first go at blockers for glade-3 beta release.
+
2006-01-28 Tristan Van Berkom <tvb@gnome.org>
* src/glade-editor-property.c: GladeEPropFlags now shows
diff --git a/TODO b/TODO
index e69de29b..6948dfa6 100644
--- a/TODO
+++ b/TODO
@@ -0,0 +1,25 @@
+
+
+Blockers for glade-3 2.92.0 beta
+================================
+
+Tasks:
+======
+ o Implement atk properties (parser already works)
+ o Toolbar editor / Popup menu editor ?
+ o Add / Implement gnome widget catalog (bug 315601)
+ o Custom widgets/backwards compatibility (bug 317949)
+
+Complex bugs:
+=============
+ o Unify multiple property changes & dont unify default settings (bug 315600)
+ o GtkTable packing props should adjust placeholders (bug 325791)
+ o Selection bug with some widgets (properly streamlining events
+ on widgets in the glade runtime environment) (bug 327379)
+
+Trivial bugs:
+=============
+ o Cutting a text field in the properties dialog cut the widget (bug 324398)
+ o glade_app_config_save() should report errors in a smart fashion (bug 310141)
+ o upgrade build scripts to work with modern automake (bug 304766)
+ o Dimensions of window changing after a simple cut and paste (bug 320077)
diff --git a/src/glade-project.c b/src/glade-project.c
index 43d27f07..5f95a980 100644
--- a/src/glade-project.c
+++ b/src/glade-project.c
@@ -1130,6 +1130,7 @@ glade_project_save (GladeProject *project, const gchar *path, GError **error)
gchar *canonical_path;
g_return_val_if_fail (GLADE_IS_PROJECT (project), FALSE);
+ g_return_val_if_fail (path != NULL, FALSE);
interface = glade_project_write (project);
if (!interface)
@@ -1142,8 +1143,10 @@ glade_project_save (GladeProject *project, const gchar *path, GError **error)
glade_interface_destroy (interface);
canonical_path = glade_util_canonical_path (path);
+ g_assert (canonical_path);
- if (strcmp (canonical_path, project->path))
+ if (project->path == NULL ||
+ strcmp (canonical_path, project->path))
{
gchar *old_dir, *new_dir;