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

(-)callbacks.c.orig (-4 / +5 lines)
Lines 591-603 Link Here
591
{
591
{
592
  GList *tmp = GTK_CLIST(curr_view->clist)->selection;
592
  GList *tmp = GTK_CLIST(curr_view->clist)->selection;
593
  FileInfo *info;
593
  FileInfo *info;
594
  gint row;
594
  glong row;
595
595
596
  gtk_signal_emit_by_name(GTK_OBJECT(curr_view->clist), "end-selection");
596
  gtk_signal_emit_by_name(GTK_OBJECT(curr_view->clist), "end-selection");
597
597
598
  for (; tmp != NULL; tmp = tmp->next)
598
  for (; tmp != NULL; tmp = tmp->next)
599
  {
599
  {
600
    row = (gint)tmp->data;
600
    row = (glong)tmp->data;
601
    info = gtk_clist_get_row_data(GTK_CLIST(curr_view->clist), row);
601
    info = gtk_clist_get_row_data(GTK_CLIST(curr_view->clist), row);
602
    if (g_list_find(curr_view->tagged, info) != NULL)
602
    if (g_list_find(curr_view->tagged, info) != NULL)
603
    {
603
    {
Lines 651-657 Link Here
651
void find_cb(GtkWidget *widget)
651
void find_cb(GtkWidget *widget)
652
{
652
{
653
  gchar *s, *pattern;
653
  gchar *s, *pattern;
654
  gint i, last;
654
  gint i;
655
  glong last;
655
656
656
  gtk_widget_set_sensitive(app.main_window, FALSE);
657
  gtk_widget_set_sensitive(app.main_window, FALSE);
657
  disable_refresh();
658
  disable_refresh();
Lines 665-671 Link Here
665
    pattern = g_strdup_printf("*%s*", s);
666
    pattern = g_strdup_printf("*%s*", s);
666
    if (GTK_CLIST(curr_view->clist)->selection != NULL)
667
    if (GTK_CLIST(curr_view->clist)->selection != NULL)
667
    {
668
    {
668
      last = (gint)GTK_CLIST(curr_view->clist)->selection->data;
669
      last = (glong)GTK_CLIST(curr_view->clist)->selection->data;
669
      if (last == (GTK_CLIST(curr_view->clist)->rows - 1))
670
      if (last == (GTK_CLIST(curr_view->clist)->rows - 1))
670
        i = 0;
671
        i = 0;
671
      else
672
      else

Return to bug 114898