Merge lp:~ted/libdbusmenu/lp907635 into lp:libdbusmenu/14.04

Proposed by Ted Gould
Status: Merged
Approved by: Ted Gould
Approved revision: 464
Merged at revision: 464
Proposed branch: lp:~ted/libdbusmenu/lp907635
Merge into: lp:libdbusmenu/14.04
Diff against target: 18 lines (+6/-2)
1 file modified
libdbusmenu-gtk/parser.c (+6/-2)
To merge this branch: bzr merge lp:~ted/libdbusmenu/lp907635
Reviewer Review Type Date Requested Status
PS Jenkins bot (community) continuous-integration Approve
Ted Gould (community) Approve
Review via email: mp+198961@code.launchpad.net

Commit message

Check to ensure the property isn't set to NULL

Description of the change

Patch from bug

To post a comment you must log in.
Revision history for this message
Ted Gould (ted) :
review: Approve
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
Sebastien Bacher (seb128) wrote :

the build issue is due to invalid g_source_remove() use, the new glib is reporting those. I've opened https://bugs.launchpad.net/ubuntu/+source/libdbusmenu/+bug/1260779 about the issue

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
PS Jenkins bot (ps-jenkins) :
review: Approve (continuous-integration)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'libdbusmenu-gtk/parser.c'
--- libdbusmenu-gtk/parser.c 2013-11-03 02:46:23 +0000
+++ libdbusmenu-gtk/parser.c 2013-12-13 15:32:21 +0000
@@ -1313,8 +1313,12 @@
13131313
1314 if (item != NULL) {1314 if (item != NULL) {
1315 GtkWidget * menu = GTK_WIDGET (g_value_get_object (&prop_value));1315 GtkWidget * menu = GTK_WIDGET (g_value_get_object (&prop_value));
1316 parse_menu_structure_helper(menu, &recurse);1316 /* Ensure the submenu isn't being set to NULL to remove it
1317 watch_submenu(item, menu);1317 * (ex. Geany does this) */
1318 if (menu != NULL) {
1319 parse_menu_structure_helper(menu, &recurse);
1320 watch_submenu(item, menu);
1321 }
1318 } else {1322 } else {
1319 /* Note: it would be really odd that we wouldn't have a cached1323 /* Note: it would be really odd that we wouldn't have a cached
1320 item, but we should handle that appropriately. */1324 item, but we should handle that appropriately. */

Subscribers

People subscribed via source and target branches

to all changes: