[Xfce4-commits] [xfce/exo] 01/01: Do not assign value twice, thanks f2404! https://github.com/xfce-mirror/exo/pull/3
noreply at xfce.org
noreply at xfce.org
Sat Aug 20 23:52:58 CEST 2016
This is an automated email from the git hooks/post-receive script.
bluesabre pushed a commit to branch master
in repository xfce/exo.
commit ed39ed4484d0524157f26528812d8458e8d7b14e
Author: Sean Davis <smd.seandavis at gmail.com>
Date: Sat Aug 20 17:52:27 2016 -0400
Do not assign value twice, thanks f2404!
https://github.com/xfce-mirror/exo/pull/3
---
exo/exo-icon-view.c | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/exo/exo-icon-view.c b/exo/exo-icon-view.c
index 495e70e..6579d62 100644
--- a/exo/exo-icon-view.c
+++ b/exo/exo-icon-view.c
@@ -643,11 +643,11 @@ static AtkObject *
exo_icon_view_get_accessible (GtkWidget *widget)
{
static gboolean initited = FALSE;
- GType derived_type;
+ GType derived_type;
AtkObjectFactory *factory;
AtkRegistry *registry;
GType derived_atk_type;
-
+
if (!initited)
{
derived_type = g_type_parent (EXO_TYPE_ICON_VIEW);
@@ -2097,7 +2097,7 @@ exo_icon_view_expose_event (GtkWidget *widget,
{
exo_icon_view_paint_item (icon_view, item, &event_area, event->window, item->area.x, item->area.y, TRUE);
if (G_UNLIKELY (dest_index >= 0 && dest_item == NULL)) {
-
+
if (dest_index == g_list_index (priv->items, item))
dest_item = item;}
}
@@ -5429,8 +5429,6 @@ exo_icon_view_cell_layout_reorder (GtkCellLayout *layout,
GList *lp;
gint n;
- icon_view = EXO_ICON_VIEW (layout);
-
info = exo_icon_view_get_cell_info (icon_view, cell);
if (G_LIKELY (info != NULL))
{
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list