← Back to team overview

touch-packages team mailing list archive

[Bug 1439923] [NEW] GTK does not build because gtk_menu_tracker_item_get_menu_item does not always return a value

 

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
Touch seeded packages, 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

Status in gtk+3.0 package in Ubuntu:
  New

Bug description:
  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).

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


Follow ups

References