[Xfce4-commits] <thunarx-python:master> Use g_return_val_if_fail instead of g_return_if_fail because this override function must have a return value
Adam Plumb
noreply at xfce.org
Fri Mar 25 16:08:01 CET 2011
Updating branch refs/heads/master
to 75b892dddc32c3c5e5f10cac216390a588218f1f (commit)
from e9d83b29de2c799446f3b6931a974d33425a16ab (commit)
commit 75b892dddc32c3c5e5f10cac216390a588218f1f
Author: Adam Plumb <adamplumb at gmail.com>
Date: Fri Mar 25 11:07:29 2011 -0400
Use g_return_val_if_fail instead of g_return_if_fail because this override function must have a return value
src/thunarx.override | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/thunarx.override b/src/thunarx.override
index bf2d3c7..0f4127e 100644
--- a/src/thunarx.override
+++ b/src/thunarx.override
@@ -31,7 +31,7 @@ _pyobject_to_ghashtable (PyObject *py_dict,
Py_ssize_t pos = 0;
PyObject *py_key, *py_value;
- g_return_if_fail (py_dict != NULL);
+ g_return_val_if_fail (py_dict != NULL, NULL);
while (PyDict_Next (py_dict, &pos, &py_key, &py_value))
{
More information about the Xfce4-commits
mailing list