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

« back to all changes in this revision

Viewing changes to plug-ins/imagemap/imap_cmd_move_to_front.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
} MoveToFrontCommand_t;
45
45
 
46
 
Command_t* 
 
46
Command_t*
47
47
move_to_front_command_new(ObjectList_t *list)
48
48
{
49
49
   MoveToFrontCommand_t *command = g_new(MoveToFrontCommand_t, 1);
50
50
   command->list = list;
51
 
   return command_init(&command->parent, _("Move To Front"), 
 
51
   return command_init(&command->parent, _("Move To Front"),
52
52
                       &move_to_front_command_class);
53
53
}
54
54
 
76
76
 
77
77
   id1 = object_list_add_remove_cb(command->list, remove_one_object, command);
78
78
   id2 = object_list_add_add_cb(command->list, add_one_object, command);
79
 
   
 
79
 
80
80
   object_list_move_to_front(command->list);
81
81
   object_list_remove_remove_cb(command->list, id1);
82
82
   object_list_remove_add_cb(command->list, id2);