]> www.fi.muni.cz Git - evince.git/blobdiff - shell/ev-file-monitor.c
[dualscreen] fix crash on ctrl+w and fix control window closing
[evince.git] / shell / ev-file-monitor.c
index 3db0e788096093fd6accc7f178c40b6281a3c35c..159f6fb85f0938993fe4af5ffe12665bb2a3d309 100644 (file)
@@ -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);