~ubuntu-branches/ubuntu/jaunty/gimp/jaunty-security

« back to all changes in this revision

Viewing changes to plug-ins/imagemap/imap_cmd_select_prev.c

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Holbach
  • Date: 2007-05-02 16:33:03 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20070502163303-bvzhjzbpw8qglc4y
Tags: 2.3.16-1ubuntu1
* Resynchronized with Debian, remaining Ubuntu changes:
  - debian/rules: i18n magic.
* debian/control.in:
  - Maintainer: Ubuntu Core Developers <ubuntu-devel@lists.ubuntu.com>
* debian/patches/02_help-message.patch,
  debian/patches/03_gimp.desktop.in.in.patch,
  debian/patches/10_dont_show_wizard.patch: updated.
* debian/patches/04_composite-signedness.patch,
  debian/patches/05_add-letter-spacing.patch: dropped, used upstream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
43
43
   ObjectList_t *list;
44
44
} SelectPrevCommand_t;
45
45
 
46
 
Command_t* 
 
46
Command_t*
47
47
select_prev_command_new(ObjectList_t *list)
48
48
{
49
49
   SelectPrevCommand_t *command = g_new(SelectPrevCommand_t, 1);
50
50
   command->list = list;
51
 
   return command_init(&command->parent, _("Select Previous"), 
 
51
   return command_init(&command->parent, _("Select Previous"),
52
52
                       &select_prev_command_class);
53
53
}
54
54
 
58
58
   SelectPrevCommand_t *command = (SelectPrevCommand_t*) data;
59
59
   Command_t *sub_command;
60
60
 
61
 
   sub_command = (obj->selected) 
 
61
   sub_command = (obj->selected)
62
62
      ? select_command_new(obj) : unselect_command_new(obj);
63
63
   command_add_subcommand(&command->parent, sub_command);
64
64
}