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

« back to all changes in this revision

Viewing changes to plug-ins/gimpressionist/orientation.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:
45
45
}
46
46
 
47
47
static void
48
 
create_orientmap_dialog_helper (void)
 
48
create_orientmap_dialog_helper (GtkWidget *widget)
49
49
{
50
50
  gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (orient_radio[7]), TRUE);
51
51
 
52
 
  create_orientmap_dialog ();
 
52
  create_orientmap_dialog (widget);
53
53
}
54
54
 
55
55
 
91
91
                          TRUE, 0, 0,
92
92
                          _("The number of directions (i.e. brushes) to use"),
93
93
                          NULL);
94
 
  g_signal_connect (orient_num_adjust, "value_changed",
 
94
  g_signal_connect (orient_num_adjust, "value-changed",
95
95
                    G_CALLBACK (gimp_int_adjustment_update),
96
96
                    &pcvals.orient_num);
97
97
 
103
103
                          TRUE, 0, 0,
104
104
                          _("The starting angle of the first brush to create"),
105
105
                          NULL);
106
 
  g_signal_connect (orient_first_adjust, "value_changed",
 
106
  g_signal_connect (orient_first_adjust, "value-changed",
107
107
                    G_CALLBACK (gimp_double_adjustment_update),
108
108
                    &pcvals.orient_first);
109
109
 
115
115
                          TRUE, 0, 0,
116
116
                          _("The angle span of the first brush to create"),
117
117
                          NULL);
118
 
  g_signal_connect (orient_last_adjust, "value_changed",
 
118
  g_signal_connect (orient_last_adjust, "value-changed",
119
119
                    G_CALLBACK (gimp_double_adjustment_update),
120
120
                    &pcvals.orient_last);
121
121
 
177
177
 
178
178
  orientation_restore ();
179
179
 
180
 
  tmpw = gtk_button_new_from_stock (GIMP_STOCK_EDIT);
 
180
  tmpw = gtk_button_new_from_stock (GTK_STOCK_EDIT);
181
181
  gtk_box_pack_start (GTK_BOX (box4), tmpw, FALSE, FALSE, 0);
182
182
  gtk_widget_show (tmpw);
183
183
  g_signal_connect (tmpw, "clicked",