Use GSourceFunc also for gtk+-2
This commit is contained in:
parent
1bfcadb0c0
commit
36a55c5f8e
|
@ -398,11 +398,7 @@ pluma_statusbar_flash_message (PlumaStatusbar *statusbar,
|
|||
msg);
|
||||
|
||||
statusbar->priv->flash_timeout = g_timeout_add (flash_length,
|
||||
#if GTK_CHECK_VERSION (3, 0, 0)
|
||||
(GSourceFunc) remove_message_timeout,
|
||||
#else
|
||||
(GtkFunction) remove_message_timeout,
|
||||
#endif
|
||||
statusbar);
|
||||
|
||||
g_free (msg);
|
||||
|
|
Loading…
Reference in New Issue