summaryrefslogtreecommitdiff
path: root/src/trg-prefs.c
diff options
context:
space:
mode:
authorGravatar Alan Fitton <ajf@eth0.org.uk>2011-10-13 21:45:01 +0000
committerGravatar Alan Fitton <ajf@eth0.org.uk>2011-10-13 21:45:01 +0000
commit60a8d90366771e4b74837b0a2ecaee674630c396 (patch)
tree8cec0f56fb5bd09590a17767952c8a8d97dfa5ff /src/trg-prefs.c
parent8be537ef80ec6e211bae5a67b99af74bb744c453 (diff)
emit a profile changed signal even if reconnecting to the same profile. otherwise, the menu item in the toolbar gets unchecked after being activated.
Diffstat (limited to 'src/trg-prefs.c')
-rw-r--r--src/trg-prefs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/trg-prefs.c b/src/trg-prefs.c
index cf731f7..1501217 100644
--- a/src/trg-prefs.c
+++ b/src/trg-prefs.c
@@ -51,7 +51,7 @@ enum {
static guint signals[PREFS_SIGNAL_COUNT] = { 0 };
-static void trg_prefs_profile_change_emit_signal(TrgPrefs *p)
+void trg_prefs_profile_change_emit_signal(TrgPrefs *p)
{
g_signal_emit(p, signals[PREF_PROFILE_CHANGE], 0);
}