diff options
author | Peter Wu <peter@lekensteyn.nl> | 2014-04-29 00:25:23 +0200 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2014-04-29 04:11:57 +0000 |
commit | b086b783c2106bb24ebce425f97dd86036ccbb13 (patch) | |
tree | 96fcdd2790d219548c466cd56b76c517969a35bb /.bzrignore | |
parent | 65700bd2e0f57855866846e30ec5361434af8e3f (diff) | |
download | wireshark-b086b783c2106bb24ebce425f97dd86036ccbb13.tar.gz |
gtk: fix glib assert for dialogs without cancel
Dialogs with only "Save" and "Don't save" buttons do not have a default
cancel action. Check for the existence of an OK button before
registering one.
This fixes three warnings when trying to trying to overwrite preferences
with unknown keys.
Change-Id: Ie583c40d3db8405d94b8d77710a7fb6556eac89d
Reviewed-on: https://code.wireshark.org/review/1423
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to '.bzrignore')
0 files changed, 0 insertions, 0 deletions