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 555308f5..9871de51 100644
--- a/mate-panel/panel-widget.c
+++ b/mate-panel/panel-widget.c
@@ -1910,7 +1910,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;
}