diff options
author | Kjartan Maraas <kmaraas@gnome.org> | 2006-02-08 19:43:02 +0800 |
---|---|---|
committer | Kjartan Maraas <kmaraas@src.gnome.org> | 2006-02-08 19:43:02 +0800 |
commit | 99d9556902279ce55280febc1cbf39980efd11df (patch) | |
tree | c872ba3ab8f9e5b74231a092125241921ed81b27 /e-util/e-icon-factory.c | |
parent | c523e430278b5fe1f7136d6219913678f2f30c13 (diff) | |
download | gsoc2013-evolution-99d9556902279ce55280febc1cbf39980efd11df.tar.gz gsoc2013-evolution-99d9556902279ce55280febc1cbf39980efd11df.tar.zst gsoc2013-evolution-99d9556902279ce55280febc1cbf39980efd11df.zip |
Use guint for 1-bit bitfield. Remove unused var Remove unused vars Rename
2006-02-08 Kjartan Maraas <kmaraas@gnome.org>
* e-config.c: Use guint for 1-bit bitfield.
* e-icon-factory.c: (load_icon): Remove unused var
* e-import.c: (ep_init), (ep_finalise): Remove unused vars
* e-plugin.c: (e_plugin_register_type): Rename a var
* e-plugin.h: guint for 1-bit bitfield
* e-popup.c: (ep_finalise): Add comment.
* e-profile-event.c: Remove unused prototype
* e-text-event-processor-emacs-like.c:
(e_text_event_processor_emacs_like_event): Add comment about
a compiler warning from the Intel compiler.
svn path=/trunk/; revision=31446
Diffstat (limited to 'e-util/e-icon-factory.c')
-rw-r--r-- | e-util/e-icon-factory.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/e-util/e-icon-factory.c b/e-util/e-icon-factory.c index 6ed841b98e..2a5cfb35f5 100644 --- a/e-util/e-icon-factory.c +++ b/e-util/e-icon-factory.c @@ -98,7 +98,7 @@ load_icon (const char *icon_key, const char *icon_name, int size, int scale) if (!filename || !(unscaled = gdk_pixbuf_new_from_file (filename, NULL))) { if (scale) { const char *dent; - int width, height; + int width; GDir *dir; char *x; @@ -114,7 +114,7 @@ load_icon (const char *icon_key, const char *icon_name, int size, int scale) if (((width = strtol (dent, &x, 10)) < size) || *x != 'x') continue; - if (((height = strtol (x + 1, &x, 10)) != width) || *x != '\0') + if (((strtol (x + 1, &x, 10)) != width) || *x != '\0') continue; /* if the icon exists in this directory, we can [use/scale] it */ |