[gnac/devel] Fixed warnings
- From: BenoÃt Dupasquier <bdupasqu src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnac/devel] Fixed warnings
- Date: Fri, 28 Oct 2011 12:14:27 +0000 (UTC)
commit 8160e2b0cc9b76d70ad0bc9def56bf60d3a7c557
Author: BenoÃt Dupasquier <bdupasqu src gnome org>
Date: Fri Oct 28 13:14:19 2011 +0100
Fixed warnings
src/gnac-properties.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/gnac-properties.c b/src/gnac-properties.c
index 46be600..5339e07 100644
--- a/src/gnac-properties.c
+++ b/src/gnac-properties.c
@@ -463,7 +463,7 @@ gnac_properties_update_arrows(void)
static void
gnac_properties_update_forward_arrow(void)
{
- g_return_if_fail(forward_arrow);
+ if (!forward_arrow) return;
if (gnac_file_list_has_next_row(current_ref)) {
gtk_widget_set_sensitive(forward_arrow, TRUE);
@@ -476,7 +476,7 @@ gnac_properties_update_forward_arrow(void)
static void
gnac_properties_update_backward_arrow(void)
{
- g_return_if_fail(backward_arrow);
+ if (!backward_arrow) return;
if (gnac_file_list_has_prev_row(current_ref)) {
gtk_widget_set_sensitive(backward_arrow, TRUE);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]