Commit dcd83b73 authored by Jasper St. Pierre's avatar Jasper St. Pierre

idle-monitor-native: Remove another copy/paste error

Don't overwrite the watch with a new malloc'd variable.
parent 617b00df
......@@ -125,7 +125,6 @@ meta_idle_monitor_native_make_watch (MetaIdleMonitor *monitor,
watch_native = g_slice_new0 (MetaIdleMonitorWatchNative);
watch = (MetaIdleMonitorWatch *) watch_native;
watch = g_slice_new0 (MetaIdleMonitorWatch);
watch->monitor = monitor;
watch->id = get_next_watch_serial ();
watch->callback = callback;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment