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

« back to all changes in this revision

Viewing changes to plug-ins/imagemap/imap_cmd_move_sash.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:
50
50
   MoveSashFunc_t sash_func;
51
51
} MoveSashCommand_t;
52
52
 
53
 
Command_t* 
54
 
move_sash_command_new(GtkWidget *widget, Object_t *obj, 
 
53
Command_t*
 
54
move_sash_command_new(GtkWidget *widget, Object_t *obj,
55
55
                      gint x, gint y, MoveSashFunc_t sash_func)
56
56
{
57
57
   MoveSashCommand_t *command = g_new(MoveSashCommand_t, 1);
138
138
 
139
139
   hide_url();
140
140
   preview_freeze();
141
 
   g_signal_connect(command->widget, "button_release_event",
142
 
                    G_CALLBACK (sash_end), command);   
143
 
   g_signal_connect(command->widget, "motion_notify_event", 
144
 
                    G_CALLBACK (sash_move), command);   
145
 
   gdk_gc_set_function(get_preferences()->selected_gc, GDK_EQUIV);
 
141
   g_signal_connect(command->widget, "button-release-event",
 
142
                    G_CALLBACK (sash_end), command);
 
143
   g_signal_connect(command->widget, "motion-notify-event",
 
144
                    G_CALLBACK (sash_move), command);
 
145
   gdk_gc_set_function(get_preferences()->selected_gc, GDK_XOR);
146
146
 
147
147
   return CMD_APPEND;
148
148
}