aboutsummaryrefslogtreecommitdiffstats
path: root/modules/addressbook
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2012-07-26 04:24:44 +0800
committerMatthew Barnes <mbarnes@redhat.com>2012-07-26 04:24:44 +0800
commit711c028c6daa9dfb846f86edd715e00d32407f41 (patch)
tree6684b0a7f9ba866a32700cf63a0232fd096018fe /modules/addressbook
parent518eb70213744866c93fc281bd53c010d13e20e6 (diff)
downloadgsoc2013-evolution-711c028c6daa9dfb846f86edd715e00d32407f41.tar.gz
gsoc2013-evolution-711c028c6daa9dfb846f86edd715e00d32407f41.tar.zst
gsoc2013-evolution-711c028c6daa9dfb846f86edd715e00d32407f41.zip
action_address_book_new_cb(): Fix a runtime warning.
Diffstat (limited to 'modules/addressbook')
-rw-r--r--modules/addressbook/e-book-shell-view-actions.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/addressbook/e-book-shell-view-actions.c b/modules/addressbook/e-book-shell-view-actions.c
index fe7f9e4b20..8a319d51ff 100644
--- a/modules/addressbook/e-book-shell-view-actions.c
+++ b/modules/addressbook/e-book-shell-view-actions.c
@@ -111,7 +111,7 @@ action_address_book_new_cb (GtkAction *action,
dialog = e_source_config_dialog_new (E_SOURCE_CONFIG (config));
gtk_window_set_transient_for (
- GTK_WINDOW (config), GTK_WINDOW (shell_window));
+ GTK_WINDOW (dialog), GTK_WINDOW (shell_window));
icon_name = gtk_action_get_icon_name (action);
gtk_window_set_icon_name (GTK_WINDOW (dialog), icon_name);