Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6)

Side by Side Diff: base/third_party/xdg_mime/xdgmimeicon.c

Issue 10824186: Linux: update base/third_party/xdg_mime from upstream. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « base/third_party/xdg_mime/xdgmimeglob.c ('k') | base/third_party/xdg_mime/xdgmimeint.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* -*- mode: C; c-file-style: "gnu" -*- */ 1 /* -*- mode: C; c-file-style: "gnu" -*- */
2 /* xdgmimeicon.c: Private file. Datastructure for storing the aliases. 2 /* xdgmimeicon.c: Private file. Datastructure for storing the aliases.
3 * 3 *
4 * More info can be found at http://www.freedesktop.org/standards/ 4 * More info can be found at http://www.freedesktop.org/standards/
5 * 5 *
6 * Copyright (C) 2008 Red Hat, Inc. 6 * Copyright (C) 2008 Red Hat, Inc.
7 * 7 *
8 * Licensed under the Academic Free License version 2.0 8 * Licensed under the Academic Free License version 2.0
9 * Or under the following terms: 9 * Or under the following terms:
10 * 10 *
11 * This library is free software; you can redistribute it and/or 11 * This library is free software; you can redistribute it and/or
12 * modify it under the terms of the GNU Lesser General Public 12 * modify it under the terms of the GNU Lesser General Public
13 * License as published by the Free Software Foundation; either 13 * License as published by the Free Software Foundation; either
14 * version 2 of the License, or (at your option) any later version. 14 * version 2 of the License, or (at your option) any later version.
15 * 15 *
16 * This library is distributed in the hope that it will be useful, 16 * This library is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of 17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
19 * Lesser General Public License for more details. 19 * Lesser General Public License for more details.
20 * 20 *
21 * You should have received a copy of the GNU Lesser General Public 21 * You should have received a copy of the GNU Lesser General Public
22 * License along with this library; if not, write to the 22 * License along with this library; if not, write to the
23 * Free Software Foundation, Inc., 59 Temple Place - Suite 330, 23 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
24 * Boston, MA 02111-1307, USA. 24 * Boston, MA 02111-1307, USA.
25 */ 25 */
26 26
27 #ifdef HAVE_CONFIG_H 27 #ifdef HAVE_CONFIG_H
28 #include "config.h" 28 #include <config.h>
29 #endif 29 #endif
30 30
31 #include "xdgmimeicon.h" 31 #include "xdgmimeicon.h"
32 #include "xdgmimeint.h" 32 #include "xdgmimeint.h"
33 #include <stdlib.h> 33 #include <stdlib.h>
34 #include <stdio.h> 34 #include <stdio.h>
35 #include <assert.h> 35 #include <assert.h>
36 #include <string.h> 36 #include <string.h>
37 #include <fnmatch.h> 37 #include <fnmatch.h>
38 38
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
174 for (i = 0; i < list->n_icons; i++) 174 for (i = 0; i < list->n_icons; i++)
175 { 175 {
176 printf ("%s %s\n", 176 printf ("%s %s\n",
177 list->icons[i].mime_type, 177 list->icons[i].mime_type,
178 list->icons[i].icon_name); 178 list->icons[i].icon_name);
179 } 179 }
180 } 180 }
181 } 181 }
182 182
183 183
OLDNEW
« no previous file with comments | « base/third_party/xdg_mime/xdgmimeglob.c ('k') | base/third_party/xdg_mime/xdgmimeint.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698