! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
thunarx-python: return with no value from non-void function
Status:
RESOLVED: FIXED
Product:
thunarx-python
Component:
general

Comments

Description Guido Berhoerster 2011-03-24 17:19:11 CET
From thunarx.override:

GHashTable *
_pyobject_to_ghashtable (PyObject   *py_dict,
                         GHashTable *hashtable)
{
[...]
    g_return_if_fail (py_dict != NULL);

Please use either g_return_val_if_fail with value to indicate the failed assertion or make it fatal.
Comment 1 Adam Plumb editbugs 2011-03-25 16:07:41 CET
Thanks for the tip, this has been fixed.

Bug #7441

Reported by:
Guido Berhoerster
Reported on: 2011-03-24
Last modified on: 2011-03-25

People

Assignee:
Adam Plumb
CC List:
0 users

Version

Version:
unspecified

Attachments

Additional information