Public bug reported:

Tested version: 3.14.11-0ubuntu1
Bug most likely introduced in: 3.10.6-0ubuntu1

gtk_menu_tracker_item_get_menu_item and
gtk_menu_tracker_item_get_action_namespace both have return types, but
use g_return_if_fail instead of g_return_val_if_fail.

Attached is a diff of the change I made to make my Clang build the
package, although you might want to verify whether returning NULL is
correct (I have no idea what GtkMenuTrackerItem is).

** Affects: gtk+3.0 (Ubuntu)
     Importance: Undecided
         Status: New

** Patch added: "fix_return_value.diff"
   
https://bugs.launchpad.net/bugs/1439923/+attachment/4364835/+files/fix_return_value.diff

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gtk+3.0 in Ubuntu.
https://bugs.launchpad.net/bugs/1439923

Title:
  GTK does not build because gtk_menu_tracker_item_get_menu_item does
  not always return a value

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gtk+3.0/+bug/1439923/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to