~ubuntu-branches/ubuntu/precise/evince/precise-updates

« back to all changes in this revision

Viewing changes to shell/ev-file-monitor.c

  • Committer: Bazaar Package Importer
  • Author(s): Didier Roche
  • Date: 2009-02-10 15:24:04 UTC
  • mto: (1.6.1 upstream)
  • mto: This revision was merged to the branch mainline in revision 72.
  • Revision ID: james.westby@ubuntu.com-20090210152404-9el29bkm4unsnj6n
Tags: upstream-2.25.90
ImportĀ upstreamĀ versionĀ 2.25.90

Show diffs side-by-side

added added

removed removed

Lines of Context:
155
155
        file = g_file_new_for_uri (uri);
156
156
        ev_monitor->priv->monitor = g_file_monitor_file (file, G_FILE_MONITOR_NONE, NULL, &error);
157
157
        if (ev_monitor->priv->monitor) {
158
 
                g_signal_connect (G_OBJECT (ev_monitor->priv->monitor), "changed",
 
158
                g_signal_connect (ev_monitor->priv->monitor, "changed",
159
159
                                  G_CALLBACK (ev_file_monitor_changed_cb), ev_monitor);
160
160
        } else if (error) {
161
161
                g_warning ("%s", error->message);