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

« back to all changes in this revision

Viewing changes to libgimpbase/gimpsignal.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:
16
16
 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
17
17
 * Boston, MA 02111-1307, USA.
18
18
 *
19
 
 * $Revision: 1.10 $
 
19
 * $Revision: 20111 $
20
20
 */
21
21
 
 
22
#include "config.h"
 
23
 
 
24
#define _GNU_SOURCE  /* for the sigaction stuff */
 
25
 
22
26
#include <glib.h>
23
27
 
24
28
#include "gimpsignal.h"
53
57
 */
54
58
GimpSignalHandlerFunc
55
59
gimp_signal_private (gint                   signum,
56
 
                     GimpSignalHandlerFunc  handler,
57
 
                     gint                   flags)
 
60
                     GimpSignalHandlerFunc  handler,
 
61
                     gint                   flags)
58
62
{
59
63
#ifndef G_OS_WIN32
60
64
  gint ret;
89
93
 
90
94
  return (GimpSignalHandlerFunc) osa.sa_handler;
91
95
#else
92
 
  return NULL;                  /* Or g_error()? Should all calls to
93
 
                                 * this function really be inside
94
 
                                 * #ifdef G_OS_UNIX?
95
 
                                 */
 
96
  return NULL;                  /* Or g_error()? Should all calls to
 
97
                                 * this function really be inside
 
98
                                 * #ifdef G_OS_UNIX?
 
99
                                 */
96
100
#endif
97
101
}