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

« back to all changes in this revision

Viewing changes to plug-ins/gfig/gfig-preview.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:
24
24
 
25
25
#include "config.h"
26
26
 
27
 
#include <stdio.h>
28
 
#include <string.h>
29
 
 
30
 
#include <gtk/gtk.h>
31
 
 
32
27
#include <libgimp/gimp.h>
33
28
#include <libgimp/gimpui.h>
34
29
 
88
83
                    G_CALLBACK (gfig_preview_events),
89
84
                    NULL);
90
85
 
91
 
  g_signal_connect_after (gfig_context->preview , "expose_event",
 
86
  g_signal_connect_after (gfig_context->preview , "expose-event",
92
87
                          G_CALLBACK (gfig_preview_expose),
93
88
                          NULL);
94
89
 
106
101
 
107
102
  ruler = gtk_hruler_new ();
108
103
  gtk_ruler_set_range (GTK_RULER (ruler), 0, preview_width, 0, PREVIEW_SIZE);
109
 
  g_signal_connect_swapped (gfig_context->preview, "motion_notify_event",
 
104
  g_signal_connect_swapped (gfig_context->preview, "motion-notify-event",
110
105
                            G_CALLBACK (GTK_WIDGET_CLASS (G_OBJECT_GET_CLASS (ruler))->motion_notify_event),
111
106
                            ruler);
112
107
  gtk_table_attach (GTK_TABLE (table), ruler, 1, 2, 0, 1,
115
110
 
116
111
  ruler = gtk_vruler_new ();
117
112
  gtk_ruler_set_range (GTK_RULER (ruler), 0, preview_height, 0, PREVIEW_SIZE);
118
 
  g_signal_connect_swapped (gfig_context->preview, "motion_notify_event",
 
113
  g_signal_connect_swapped (gfig_context->preview, "motion-notify-event",
119
114
                            G_CALLBACK (GTK_WIDGET_CLASS (G_OBJECT_GET_CLASS (ruler))->motion_notify_event),
120
115
                            ruler);
121
116
  gtk_table_attach (GTK_TABLE (table), ruler, 0, 1, 1, 2,