GApplication: Check more before warning about a missing signal handler.
authorMurray Cumming <murrayc@murrayc.com>
Mon, 28 Feb 2011 10:15:13 +0000 (11:15 +0100)
committerMurray Cumming <murrayc@murrayc.com>
Fri, 4 Mar 2011 14:16:39 +0000 (15:16 +0100)
commit91614bb5fe18a980283755522279767a22da7c5c
treebce51608db6530eac6522ac14df39f1c2d215e9a
parent1485871ed5e8e9ce70b088cfedae4012032e5dca
GApplication: Check more before warning about a missing signal handler.

* gio/application.c (g_application_real_command_line): Check that the
default signal handler is not the current one before complaining, because
it is not unusual for overloads to call the base class implementation as
a matter of habit.
g_application_real_open() and g_application_real_activate() already do this
extra check.
gio/gapplication.c