[gtk+] gtk_status_icon_get_title() must return a value
- From: Hans Breuer <hans src gnome org>
- To: svn-commits-list gnome org
- Subject: [gtk+] gtk_status_icon_get_title() must return a value
- Date: Sat, 4 Jul 2009 10:47:05 +0000 (UTC)
commit b11c4d9fae4ed1013a3983f4cdf3d898b62a0566
Author: Hans Breuer <hans breuer org>
Date: Wed Jul 1 22:29:32 2009 +0200
gtk_status_icon_get_title() must return a value
gtk/gtkstatusicon.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkstatusicon.c b/gtk/gtkstatusicon.c
index f7fa009..0d6a262 100644
--- a/gtk/gtkstatusicon.c
+++ b/gtk/gtkstatusicon.c
@@ -2949,7 +2949,7 @@ gtk_status_icon_get_title (GtkStatusIcon *status_icon)
{
GtkStatusIconPrivate *priv;
- g_return_if_fail (GTK_IS_STATUS_ICON (status_icon));
+ g_return_val_if_fail (GTK_IS_STATUS_ICON (status_icon), NULL);
priv = status_icon->priv;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]