diff options
author | Koen Kooi <koen@openembedded.org> | 2007-10-31 13:46:47 +0000 |
---|---|---|
committer | Koen Kooi <koen@openembedded.org> | 2007-10-31 13:46:47 +0000 |
commit | 44cbb9985f111ce87e6990061c89e2e061b6c6ea (patch) | |
tree | f26c7f7df66d468547e5b5cc8ba8dc328c44f08d /packages/pimlico/tasks-0.10/delete-crash.diff | |
parent | 43b6ecbcb39354a32e0b8dd7c02ec8789be0ab9a (diff) | |
parent | 821528ad116a72c2323d88d21e979614c78f1b41 (diff) |
propagate from branch 'org.openembedded.dev' (head a6b798a43c05aef43ed650ab880f3edd386d0aa3)
to branch 'org.openembedded.dev.avr32' (head 77e1041de2eef682f183f3f5199826818cb9c5b1)
Diffstat (limited to 'packages/pimlico/tasks-0.10/delete-crash.diff')
-rw-r--r-- | packages/pimlico/tasks-0.10/delete-crash.diff | 71 |
1 files changed, 0 insertions, 71 deletions
diff --git a/packages/pimlico/tasks-0.10/delete-crash.diff b/packages/pimlico/tasks-0.10/delete-crash.diff deleted file mode 100644 index 0b2ba473d4..0000000000 --- a/packages/pimlico/tasks-0.10/delete-crash.diff +++ /dev/null @@ -1,71 +0,0 @@ -Index: libkoto/koto-utils.c -=================================================================== ---- libkoto/koto-utils.c (revision 294) -+++ libkoto/koto-utils.c (revision 295) -@@ -25,6 +25,7 @@ - - typedef struct { - GtkWindow *window; -+ GtkTreeModel *model; - char *title; - } WindowData; - -@@ -67,19 +68,21 @@ - /* - * Update the window title, generally as the number of tasks has changed. - */ --static void --update_title (WindowData *data, GtkTreeModel *model) -+static gboolean -+update_title (gpointer user_data) - { -+ WindowData *data = user_data; - int count = 0; - char *title; - - g_assert (data); -- g_assert (model); - -- gtk_tree_model_foreach (model, count_pending, &count); -+ gtk_tree_model_foreach (data->model, count_pending, &count); - title = g_strdup_printf (data->title, count); - gtk_window_set_title (data->window, title); - g_free (title); -+ -+ return FALSE; - } - - /* -@@ -89,7 +92,7 @@ - static void - on_row_inserted (GtkTreeModel *model, GtkTreePath *path, GtkTreeIter *iter, WindowData *data) - { -- update_title (data, model); -+ g_idle_add (update_title, data); - } - - /* -@@ -99,7 +102,7 @@ - static void - on_row_deleted (GtkTreeModel *model, GtkTreePath *path, WindowData *data) - { -- update_title (data, model); -+ g_idle_add (update_title, data); - } - - /* -@@ -135,6 +138,7 @@ - - data = g_slice_new (WindowData); - data->window = window; -+ data->model = model; - data->title = g_strdup (title); - - g_object_weak_ref (G_OBJECT (model), on_weak_notify, data); -@@ -145,5 +149,5 @@ - "signal::row-deleted", G_CALLBACK (on_row_deleted), data, - NULL); - -- update_title (data, model); -+ update_title (data); - } |