X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;f=shell%2Fev-file-monitor.c;h=2b06d345c15d32828e873626b943a3c0907dde14;hb=858d08e4a3794e93d7c6178099c78812f130161e;hp=3db0e788096093fd6accc7f178c40b6281a3c35c;hpb=17f37a4bdb3e37586121edebd9e48cb24340b677;p=evince.git diff --git a/shell/ev-file-monitor.c b/shell/ev-file-monitor.c index 3db0e788..2b06d345 100644 --- a/shell/ev-file-monitor.c +++ b/shell/ev-file-monitor.c @@ -155,7 +155,7 @@ ev_file_monitor_new (const gchar *uri) file = g_file_new_for_uri (uri); ev_monitor->priv->monitor = g_file_monitor_file (file, G_FILE_MONITOR_NONE, NULL, &error); if (ev_monitor->priv->monitor) { - g_signal_connect (G_OBJECT (ev_monitor->priv->monitor), "changed", + g_signal_connect (ev_monitor->priv->monitor, "changed", G_CALLBACK (ev_file_monitor_changed_cb), ev_monitor); } else if (error) { g_warning ("%s", error->message);