Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 114898 | Differences between
and this patch

Collapse All | Expand All

(-)list_utils.c.orig (-3 / +4 lines)
Lines 18-23 Link Here
18
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
18
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
19
 */
19
 */
20
20
21
#include <string.h>
21
#include "emelfm.h"
22
#include "emelfm.h"
22
23
23
void
24
void
Lines 73-79 Link Here
73
clist_select_rows(GtkWidget *clist, GList *rows)
74
clist_select_rows(GtkWidget *clist, GList *rows)
74
{
75
{
75
  GList *tmp;
76
  GList *tmp;
76
  gint row;
77
  glong row;
77
78
78
  if (rows == NULL)
79
  if (rows == NULL)
79
  {
80
  {
Lines 84-90 Link Here
84
  {
85
  {
85
    for (tmp = rows; tmp != NULL; tmp = tmp->next)
86
    for (tmp = rows; tmp != NULL; tmp = tmp->next)
86
    {
87
    {
87
      row = (gint)tmp->data;
88
      row = (glong)tmp->data;
88
      if (row < GTK_CLIST(clist)->rows)
89
      if (row < GTK_CLIST(clist)->rows)
89
      {
90
      {
90
        gtk_clist_select_row(GTK_CLIST(clist), row, 0);
91
        gtk_clist_select_row(GTK_CLIST(clist), row, 0);
Lines 107-113 Link Here
107
  GList *tmp;
108
  GList *tmp;
108
109
109
  for (tmp = GTK_CLIST(clist)->selection; tmp != NULL; tmp = tmp->next)
110
  for (tmp = GTK_CLIST(clist)->selection; tmp != NULL; tmp = tmp->next)
110
    if (row == (gint)tmp->data)
111
    if (row == (glong)tmp->data)
111
      return TRUE;
112
      return TRUE;
112
  return FALSE;
113
  return FALSE;
113
}
114
}

Return to bug 114898