summaryrefslogtreecommitdiff
path: root/src/bin/e_gadcon.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/bin/e_gadcon.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/bin/e_gadcon.c b/src/bin/e_gadcon.c
index 5c1d2c3a9..769903003 100644
--- a/src/bin/e_gadcon.c
+++ b/src/bin/e_gadcon.c
@@ -748,7 +748,9 @@ e_gadcon_zone_get(E_Gadcon *gc)
748{ 748{
749 E_OBJECT_CHECK_RETURN(gc, NULL); 749 E_OBJECT_CHECK_RETURN(gc, NULL);
750 E_OBJECT_TYPE_CHECK_RETURN(gc, E_GADCON_TYPE, NULL); 750 E_OBJECT_TYPE_CHECK_RETURN(gc, E_GADCON_TYPE, NULL);
751 return gc->zone; 751 if (gc->zone) return gc->zone;
752 if (!gc->toolbar) return NULL;
753 return gc->toolbar->fwin->border->zone;
752} 754}
753 755
754EAPI void 756EAPI void