[mutter/wayland] idle-monitor-native: Remove another copy/paste error
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter/wayland] idle-monitor-native: Remove another copy/paste error
- Date: Tue, 1 Apr 2014 20:06:21 +0000 (UTC)
commit dcd83b736556bac2531b627a4337c186f03d3219
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Tue Apr 1 16:00:49 2014 -0400
idle-monitor-native: Remove another copy/paste error
Don't overwrite the watch with a new malloc'd variable.
src/backends/native/meta-idle-monitor-native.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/src/backends/native/meta-idle-monitor-native.c b/src/backends/native/meta-idle-monitor-native.c
index 8eb3576..13d8d51 100644
--- a/src/backends/native/meta-idle-monitor-native.c
+++ b/src/backends/native/meta-idle-monitor-native.c
@@ -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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]