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=159f6fb85f0938993fe4af5ffe12665bb2a3d309;hb=aff4186edfaa1036268c97c60432e2d6644e91e5;hp=3db0e788096093fd6accc7f178c40b6281a3c35c;hpb=17f37a4bdb3e37586121edebd9e48cb24340b677;p=evince.git diff --git a/shell/ev-file-monitor.c b/shell/ev-file-monitor.c index 3db0e788..159f6fb8 100644 --- a/shell/ev-file-monitor.c +++ b/shell/ev-file-monitor.c @@ -15,7 +15,7 @@ * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ #include "config.h" @@ -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);