[gimp/gimp-2-10] app: don't use gimp_highlight_widget() in GimpPanedBox
- From: Ell <ell src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/gimp-2-10] app: don't use gimp_highlight_widget() in GimpPanedBox
- Date: Sun, 2 Feb 2020 22:34:16 +0000 (UTC)
commit a8e1cb83fff5b58875e966b29a28d4e9f67a0ecb
Author: Ell <ell_se yahoo com>
Date: Mon Feb 3 00:32:09 2020 +0200
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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]