[gnome-commander/gcmd-1-10: 53/57] Fix scroll_box_set_client method
- From: Uwe Scholz <uwescholz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-commander/gcmd-1-10: 53/57] Fix scroll_box_set_client method
- Date: Thu, 11 Apr 2019 20:08:48 +0000 (UTC)
commit d772c7a0645cf7fa43f7a861b41d7095e9a59eb2
Author: Uwe Scholz <u scholz83 gmx de>
Date: Wed Apr 10 21:51:07 2019 +0200
Fix scroll_box_set_client method
src/intviewer/scroll-box.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/intviewer/scroll-box.cc b/src/intviewer/scroll-box.cc
index 9251bf94..79d922d6 100644
--- a/src/intviewer/scroll-box.cc
+++ b/src/intviewer/scroll-box.cc
@@ -169,7 +169,7 @@ void scroll_box_set_client (ScrollBox *obj, GtkWidget *client)
g_return_if_fail (IS_SCROLL_BOX (obj));
g_return_if_fail (client != nullptr);
- if (obj->priv->client)
+ if (obj->priv)
{
if (obj->priv->client)
g_object_unref (obj->priv->client);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]