diff options
author | Alberts Muktupāvels <alberts.muktupavels@gmail.com> | 2022-03-08 13:19:12 +0200 |
---|---|---|
committer | Marco Trevisan <mail@3v1n0.net> | 2022-09-16 10:59:46 +0000 |
commit | 502d10df1e90907f8cd0f5e4dbe281d07b7124ba (patch) | |
tree | 52b5c381173a596599c1c85b71fed62897e33e4a /libwnck/util.c | |
parent | 1d37415e3649beae097c5653b8503a0595277c10 (diff) | |
download | libwnck-502d10df1e90907f8cd0f5e4dbe281d07b7124ba.tar.gz |
screen: move SnDisplay to WnckTasklist
Startup notifications are used only in WnckTasklist.
Diffstat (limited to 'libwnck/util.c')
-rw-r--r-- | libwnck/util.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/libwnck/util.c b/libwnck/util.c index 1f183a9..83659dc 100644 --- a/libwnck/util.c +++ b/libwnck/util.c @@ -220,15 +220,6 @@ _make_gtk_label_normal (GtkLabel *label) gtk_style_context_remove_class (context, "wnck-needs-attention"); } -#ifdef HAVE_STARTUP_NOTIFICATION -static gboolean -_wnck_util_sn_utf8_validator (const char *str, - int max_len) -{ - return g_utf8_validate (str, max_len, NULL); -} -#endif /* HAVE_STARTUP_NOTIFICATION */ - void _wnck_init (void) { @@ -239,10 +230,6 @@ _wnck_init (void) bindtextdomain (GETTEXT_PACKAGE, WNCK_LOCALEDIR); bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8"); -#ifdef HAVE_STARTUP_NOTIFICATION - sn_set_utf8_validator (_wnck_util_sn_utf8_validator); -#endif /* HAVE_STARTUP_NOTIFICATION */ - done = TRUE; } } |