~ubuntu-branches/ubuntu/precise/gtk+2.0/precise-updates

« back to all changes in this revision

Viewing changes to gtk/gtkentrycompletion.c

  • Committer: Package Import Robot
  • Author(s): Ken VanDine
  • Date: 2011-12-01 11:40:06 UTC
  • mfrom: (1.14.11)
  • Revision ID: package-import@ubuntu.com-20111201114006-nrmf6qu3pg512veo
Tags: 2.24.8-0ubuntu1
* New upstream release 
  - gtkfilechooser should be more robust to malformed URIs
    in .gtk-bookmarks (LP: #189494)
* debian/patches/010_make_bg_changes_queue_repaint.patch
  - dropped it introduces performance regressions in some gtk2 
    apps (LP: #889019)
* 101_filechooser.patch, 000git_file_chooser.patch: dropped, upstream

Show diffs side-by-side

added added

removed removed

Lines of Context:
788
788
  if (item != NULL)
789
789
    {
790
790
      normalized_string = g_utf8_normalize (item, -1, G_NORMALIZE_ALL);
791
 
      case_normalized_string = g_utf8_casefold (normalized_string, -1);
792
 
      
793
 
      if (!strncmp (key, case_normalized_string, strlen (key)))
794
 
        ret = TRUE;
795
 
      
796
 
      g_free (item);
 
791
 
 
792
      if (normalized_string != NULL)
 
793
        {
 
794
          case_normalized_string = g_utf8_casefold (normalized_string, -1);
 
795
 
 
796
          if (!strncmp (key, case_normalized_string, strlen (key)))
 
797
            ret = TRUE;
 
798
 
 
799
          g_free (case_normalized_string);
 
800
        }
797
801
      g_free (normalized_string);
798
 
      g_free (case_normalized_string);
799
802
    }
 
803
  g_free (item);
800
804
 
801
805
  return ret;
802
806
}