summaryrefslogtreecommitdiff
path: root/vcl/unx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-09-18 10:46:37 +0200
committerNoel Grandin <noelgrandin@gmail.com>2015-09-20 06:36:50 +0000
commite3c3b7fde3c017bd7d25f04fabf9b4528e37fb49 (patch)
treee25f75a698779a719b7e3cedb241dc272811499d /vcl/unx
parent81e1e318bb47d4dc2f479ac1809d355c117f8ce8 (diff)
convert Link<> to typed
Change-Id: I86bf78c69251b5cd4d18edf3542e70eb2e8f32e1 Reviewed-on: https://gerrit.libreoffice.org/18699 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'vcl/unx')
-rw-r--r--vcl/unx/gtk/window/gtksalmenu.cxx9
1 files changed, 4 insertions, 5 deletions
diff --git a/vcl/unx/gtk/window/gtksalmenu.cxx b/vcl/unx/gtk/window/gtksalmenu.cxx
index ba2c894a86db..bb53b14ff341 100644
--- a/vcl/unx/gtk/window/gtksalmenu.cxx
+++ b/vcl/unx/gtk/window/gtksalmenu.cxx
@@ -392,20 +392,19 @@ static gboolean RefreshMenusUnity(gpointer)
return FALSE;
}
-static long RefreshMenusUnity(void*, void*)
+static void RefreshMenusUnity(void*, LinkParamNone*)
{
if(!bInvalidMenus) {
g_timeout_add(10, &RefreshMenusUnity, NULL);
bInvalidMenus = true;
}
- return 0;
}
-static Link<>* getRefreshLinkInstance()
+static Link<LinkParamNone*,void>* getRefreshLinkInstance()
{
- static Link<>* pLink = NULL;
+ static Link<LinkParamNone*,void>* pLink = NULL;
if(!pLink) {
- pLink = new Link<>(NULL, &RefreshMenusUnity);
+ pLink = new Link<LinkParamNone*,void>(NULL, &RefreshMenusUnity);
}
return pLink;
}