1. 09 Jan, 2008 1 commit
    • Michael Natterer's avatar
      remove unused variable. · 9c7a2c32
      Michael Natterer authored
      2008-01-09  Michael Natterer  <mitch@imendio.com>
      
      	* gtk/gtkcolorsel.c (make_label_spinbutton): remove unused
      	variable.
      
      	* gtk/gtkcombobox.c (gtk_combo_box_detacher)
      	* gtk/gtkicontheme.c (theme_list_contexts)
      	(gtk_icon_theme_lookup_icon)
      	* gtk/gtkimcontextsimple.c (beep_window)
      	* gtk/gtklinkbutton.c (set_link_color)
      	* gtk/gtkuimanager.c (child_hierarchy_changed_cb): add casts to
      	fix warnings.
      
      	* gtk/gtkpathbar.c (_gtk_path_bar_set_file_system): remove unused
      	variable and add const to another to fix a warning.
      
      
      svn path=/trunk/; revision=19330
      9c7a2c32
  2. 03 Dec, 2007 1 commit
    • Matthias Clasen's avatar
      Two optimizations for icon cache lookups. · f9e4618b
      Matthias Clasen authored
      2007-12-03  Matthias Clasen  <mclasen@redhat.com>
      
              Two optimizations for icon cache lookups.
      
              * gtk/gtkiconcache.[hc]:
              * gtk/gtkicontheme.c: Remember the directory index for
              subdirectories, instead of running over the directory list
              again and again.
      
              * gtk/gtkiconcache.c (find_image_offset): Remember the last
              chain and try it first; this helps with the the usage patterns
              in gtkicontheme.c, where the same icon is queried for a lot
              of subdirectories.
      
      
      svn path=/trunk/; revision=19099
      f9e4618b
  3. 18 Jul, 2007 1 commit
  4. 19 Jun, 2007 1 commit
    • Sven Neumann's avatar
      use g_slice_dup(). · 721ed985
      Sven Neumann authored
      2007-06-19  Sven Neumann  <sven@gimp.org>
      
      	* gtk/gtkicontheme.c (gtk_icon_info_copy): use g_slice_dup().
      
      svn path=/trunk/; revision=18189
      721ed985
  5. 03 Jun, 2007 1 commit
  6. 25 May, 2007 1 commit
  7. 18 May, 2007 1 commit
  8. 25 Apr, 2007 1 commit
    • Matthias Clasen's avatar
      Set the filename to NULL for builtin icons, sinc · 0ac30693
      Matthias Clasen authored
      2007-04-25  Matthias Clasen  <mclasen@redhat.com>
      
              * gtk/gtkicontheme.c (theme_lookup_icon): Set the filename to
              NULL for builtin icons, sinc gtk_icon_info_get_builtin_pixbuf()
              depends on it.
      
              * tests/testicontheme.c: Report builtin icons.
      
      
      svn path=/trunk/; revision=17638
      0ac30693
  9. 24 Apr, 2007 1 commit
  10. 19 Apr, 2007 1 commit
  11. 23 Mar, 2007 1 commit
  12. 21 Mar, 2007 1 commit
    • Rodney Dawes's avatar
      Add a new API call gtk_icon_theme_list_contexts so that one can choose · 57f51f5d
      Rodney Dawes authored
      2007-03-21  Rodney Dawes  <dobey@novell.com>
      
      	* gtk/gtk.symbols:
      	* gtk/gtkicontheme.[ch]:
      	* docs/reference/gtk/gtk-sections.txt:
      	* tests/testicontheme.c:
      	Add a new API call gtk_icon_theme_list_contexts so that one can
      	choose icons from a theme by context (#420719)
      
      
      svn path=/trunk/; revision=17550
      57f51f5d
  13. 15 Mar, 2007 1 commit
    • Chris Wilson's avatar
      Protect ensure_valid_themes() from recursion, which can happen for example · 0b1c9b7c
      Chris Wilson authored
      2007-03-15  Chris Wilson  <chris@chris-wilson.co.uk>
      
      	* gtk/gtkicontheme.c (ensure_valid_themes), (rescan_themes),
      	(gtk_icon_theme_rescan_if_needed): Protect ensure_valid_themes()
      	from recursion, which can happen for example if the app tries to
      	reload an icon from within a theme-changed handler. (#418531)
      
      
      svn path=/trunk/; revision=17523
      0b1c9b7c
  14. 09 Mar, 2007 1 commit
  15. 06 Mar, 2007 1 commit
    • Chris Wilson's avatar
      Be careful not to trigger a style reset before we have loaded the icon · 8a82e3c9
      Chris Wilson authored
      2007-03-06  Chris Wilson  <chris@chris-wilson.co.uk>
      
      	* gtk/gtkicontheme.c (update_current_theme), (gtk_icon_theme_init),
      	(do_theme_change), (gtk_icon_theme_set_custom_theme),
      	(load_themes):
      		Be careful not to trigger a style reset before we have loaded
      		the icon theme. (#414875).
      
      
      svn path=/trunk/; revision=17404
      8a82e3c9
  16. 26 Feb, 2007 1 commit
    • Chris Wilson's avatar
      Bug 409101 – invalid read to gtkicontheme.c insert_theme(), might cause · e2a74a9b
      Chris Wilson authored
      2007-02-26  Chris Wilson  <chris@chris-wilson.co.uk>
      
      	Bug 409101 – invalid read to gtkicontheme.c insert_theme(), might cause gnome-panel crash
      
      	* gtk/gtkicontheme.c: (scan_directory):
      		Reorder the replacement of the shared base_name key, so that we
      		avoid dereferencing the string in the icon_theme->all_icon
      		hash table after freeing it from the dir->icons hash table.
      
      
      svn path=/trunk/; revision=17353
      e2a74a9b
  17. 15 Jan, 2007 1 commit
  18. 02 Jan, 2007 1 commit
  19. 22 Dec, 2006 1 commit
  20. 02 Dec, 2006 1 commit
  21. 15 Oct, 2006 1 commit
  22. 08 Oct, 2006 1 commit
  23. 15 Aug, 2006 2 commits
  24. 20 Jul, 2006 1 commit
    • Matthias Clasen's avatar
      Export this privately. · 7014a3b5
      Matthias Clasen authored
      2006-07-20  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkicontheme.h:
      	* gtk/gtkicontheme.c (_gtk_icon_theme_ensure_builtin_cache):
      	Export this privately.
      
      	* gtk/gtkiconfactory.c (render_fallback_image): And call it
      	here to initialize the builtin cache before using it.  (#348063,
      	Diego Pettenò)
      7014a3b5
  25. 07 Jul, 2006 1 commit
  26. 07 Jun, 2006 2 commits
  27. 06 Jun, 2006 1 commit
  28. 14 May, 2006 1 commit
  29. 02 May, 2006 1 commit
  30. 18 Apr, 2006 1 commit
  31. 12 Apr, 2006 2 commits
  32. 04 Apr, 2006 2 commits
    • Matthias Clasen's avatar
      Small savings · 9c0f0bb4
      Matthias Clasen authored
      9c0f0bb4
    • Matthias Clasen's avatar
      No point in making the error path fast by caching quarks. · 8c8a4c89
      Matthias Clasen authored
      2006-04-03  Matthias Clasen  <mclasen@redhat.com>
      
              * gtk/gtkrecentchooser.c (gtk_recent_chooser_error_quark):
              * gtk/gtkrecentmanager.c (gtk_recent_manager_error_quark):
              * gtk/gtkfilechooser.c (gtk_file_chooser_error_quark):
              * gtk/gtkfilesystem.c (gtk_file_system_error_quark):
              * gtk/gtkicontheme.c (gtk_icon_theme_error_quark): No point
              in making the error path fast by caching quarks.
      8c8a4c89
  33. 31 Mar, 2006 1 commit
    • Matthias Clasen's avatar
      Don't leak the keyfile parser in the error case. · 082d4176
      Matthias Clasen authored
      2006-03-31  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkicontheme.c (load_icon_data): Don't leak the keyfile
      	parser in the error case.
      
      	* gtk/gtkicontheme.c (load_icon_data, free_unthemed_icon)
      	(icon_data_free, load_themes):
      	* gtk/gtkiconcache.c (_gtk_icon_cache_get_icon_data): Use the slice
      	allocator for GtkIconData and UnthemedIcon structs.
      082d4176
  34. 13 Feb, 2006 1 commit
  35. 11 Jan, 2006 1 commit
    • Matthias Clasen's avatar
      Allow falling back to another icon theme before hicolor. (#325546, Rodney · f35d4e1e
      Matthias Clasen authored
      2006-01-11  Matthias Clasen  <mclasen@redhat.com>
      
      	Allow falling back to another icon theme before
      	hicolor.   (#325546, Rodney Dawes)
      
      	* gtk/gtksettings.c: Add a gtk-fallback-icon-theme setting.
      
      	* gdk/x11/gdkevents-x11.c: Map it to the XSetting Net/FallbackIconTheme.
      
      	* gtk/gtkicontheme.c: Consult the fallback icon theme before
      	looking in hicolor.
      f35d4e1e
  36. 12 Dec, 2005 1 commit