Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 302533 Details for
Bug 404475
gnome-base/gnome-shell-3.2.2.1 segfaults in on_apps_tree_changed_cb()
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
gnome-shell patch to test
0001-app-system-guard-against-NULL-error-on-gmenu_tree_lo.patch (text/plain), 1.20 KB, created by
Alexandre Rostovtsev (RETIRED)
on 2012-02-19 18:30:49 UTC
(
hide
)
Description:
gnome-shell patch to test
Filename:
MIME Type:
Creator:
Alexandre Rostovtsev (RETIRED)
Created:
2012-02-19 18:30:49 UTC
Size:
1.20 KB
patch
obsolete
>From e1d911c083cdebcfd8f4163429a09802cfcff21c Mon Sep 17 00:00:00 2001 >From: Alexandre Rostovtsev <tetromino@gentoo.org> >Date: Sun, 19 Feb 2012 11:40:28 -0500 >Subject: [PATCH] app-system: guard against NULL error on gmenu_tree_load_sync > failure > >--- > src/shell-app-system.c | 6 ++++-- > 1 files changed, 4 insertions(+), 2 deletions(-) > >diff --git a/src/shell-app-system.c b/src/shell-app-system.c >index 0639ad8..84789fb 100644 >--- a/src/shell-app-system.c >+++ b/src/shell-app-system.c >@@ -321,7 +321,8 @@ on_apps_tree_changed_cb (GMenuTree *tree, > > if (!gmenu_tree_load_sync (self->priv->apps_tree, &error)) > { >- g_warning ("Failed to load apps: %s", error->message); >+ g_warning ("Failed to load apps: %s", >+ (error != NULL) ? error->message : "unknown error"); > return; > } > >@@ -412,7 +413,8 @@ on_settings_tree_changed_cb (GMenuTree *tree, > g_hash_table_remove_all (self->priv->setting_id_to_app); > if (!gmenu_tree_load_sync (self->priv->settings_tree, &error)) > { >- g_warning ("Failed to load settings: %s", error->message); >+ g_warning ("Failed to load settings: %s", >+ (error != NULL) ? error->message : "unknown error"); > return; > } > >-- >1.7.8.4 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 404475
:
302463
|
302465
|
302467
|
302473
|
302475
|
302479
|
302511
| 302533 |
302557