~ubuntu-branches/ubuntu/saucy/gimp/saucy

« back to all changes in this revision

Viewing changes to app/widgets/gimpfileprocview.c

  • Committer: Package Import Robot
  • Author(s): Micah Gersten
  • Date: 2012-05-20 19:21:01 UTC
  • mfrom: (1.1.26) (0.4.16 sid)
  • Revision ID: package-import@ubuntu.com-20120520192101-bs7zetx8ffoq2nfv
Tags: 2.8.0-2ubuntu1
* Merge from Debian unstable (LP: #908472). Remaining Changes:
  - debian/patches/02_help-message.patch,
    debian/patches/03_gimp.desktop.in.in.patch:
    + Update some strings for Ubuntu
  - debian/control:
    + Update description
  - debian/rules:
    + Set gettext domain and update translation templates
* Drop the following patches that were applied upstream:
  - debian/patches/ghost-cursor.patch: fix Wacom tablet cursor events
  - debian/patches/embed-page-setup-dialog.patch

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
 * gimpfileprocview.c
5
5
 * Copyright (C) 2004  Sven Neumann <sven@gimp.org>
6
6
 *
7
 
 * This program is free software; you can redistribute it and/or modify
 
7
 * This program is free software: you can redistribute it and/or modify
8
8
 * it under the terms of the GNU General Public License as published by
9
 
 * the Free Software Foundation; either version 2 of the License, or
 
9
 * the Free Software Foundation; either version 3 of the License, or
10
10
 * (at your option) any later version.
11
11
 *
12
12
 * This program is distributed in the hope that it will be useful,
15
15
 * GNU General Public License for more details.
16
16
 *
17
17
 * You should have received a copy of the GNU General Public License
18
 
 * along with this program; if not, write to the Free Software
19
 
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 
18
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
20
19
 */
21
20
 
22
21
#include "config.h"
43
42
  COLUMN_LABEL,
44
43
  COLUMN_EXTENSIONS,
45
44
  COLUMN_HELP_ID,
46
 
  NUM_COLUMNS
 
45
  N_COLUMNS
47
46
};
48
47
 
49
48
enum
97
96
 
98
97
  if (view->meta_extensions)
99
98
    {
100
 
      g_list_foreach (view->meta_extensions, (GFunc) g_free, NULL);
101
 
      g_list_free (view->meta_extensions);
 
99
      g_list_free_full (view->meta_extensions, (GDestroyNotify) g_free);
102
100
      view->meta_extensions = NULL;
103
101
    }
104
102
 
120
118
 
121
119
  g_return_val_if_fail (GIMP_IS_GIMP (gimp), NULL);
122
120
 
123
 
  store = gtk_list_store_new (NUM_COLUMNS,
 
121
  store = gtk_list_store_new (N_COLUMNS,
124
122
                              GIMP_TYPE_PLUG_IN_PROCEDURE, /*  COLUMN_PROC   */
125
123
                              G_TYPE_STRING,          /*  COLUMN_LABEL       */
126
124
                              G_TYPE_STRING,          /*  COLUMN_EXTENSIONS  */