summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mate-panel/panel-widget.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mate-panel/panel-widget.c b/mate-panel/panel-widget.c
index 3dc85d95..30c9185e 100644
--- a/mate-panel/panel-widget.c
+++ b/mate-panel/panel-widget.c
@@ -1917,7 +1917,7 @@ is_in_applet (int pos, AppletData *ad)
g_return_val_if_fail (ad != NULL, NULL);
if (ad->constrained <= pos &&
- ad->constrained + ad->min_cells > pos)
+ ad->constrained + ad->cells > pos)
return ad->applet;
return NULL;
}