From a8e1cb83fff5b58875e966b29a28d4e9f67a0ecb Mon Sep 17 00:00:00 2001 From: Ell Date: Mon, 3 Feb 2020 00:32:09 +0200 Subject: [PATCH] app: don't use gimp_highlight_widget() in GimpPanedBox We already do our own highlighting of the droppable areas, so this is just visual clutter. Also, a fix for last commit. --- app/widgets/gimppanedbox.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/app/widgets/gimppanedbox.c b/app/widgets/gimppanedbox.c index 6dc447a78b..d6f2facfa7 100644 --- a/app/widgets/gimppanedbox.c +++ b/app/widgets/gimppanedbox.c @@ -43,7 +43,6 @@ #include "gimpmenudock.h" #include "gimppanedbox.h" #include "gimptoolbox.h" -#include "gimpwidgets-utils.h" #include "gimp-log.h" @@ -458,7 +457,6 @@ gimp_paned_box_drag_leave (GtkWidget *widget, GimpPanedBox *paned_box = GIMP_PANED_BOX (widget); gimp_paned_box_hide_drop_indicator (paned_box, 0); - gimp_highlight_widget (widget, FALSE); } static gboolean @@ -498,7 +496,6 @@ gimp_paned_box_drag_motion (GtkWidget *widget, paned_box->p->insert_index = insert_index; gdk_drag_status (context, handle ? GDK_ACTION_MOVE : 0, time); - gimp_highlight_widget (widget, handle); /* Return TRUE so drag_leave() is called */ return handle;