patches/gnome-power-manager-10-no-dpms-sync.diff
author yippi
Sat, 05 Dec 2009 03:48:38 +0000
changeset 17124 527f4ec62c72
permissions -rw-r--r--
2009-12-04 Brian Cameron <[email protected]> * base-specs/gnome-power-manager.spec, patches/gnome-power-manager-10-no-console-kit.diff: Remove patch since ConsoleKit is integrating into build 130.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
17124
527f4ec62c72 2009-12-04 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
     1
diff -uprN gnome-power-manager-2.24.4-orig/src/gpm-dpms.c gnome-power-manager-2.24.4/src/gpm-dpms.c
527f4ec62c72 2009-12-04 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
     2
--- gnome-power-manager-2.24.4-orig/src/gpm-dpms.c	2009-03-19 14:37:38.856619450 +0800
527f4ec62c72 2009-12-04 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
     3
+++ gnome-power-manager-2.24.4/src/gpm-dpms.c	2009-03-19 14:39:35.232623388 +0800
527f4ec62c72 2009-12-04 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
     4
@@ -343,6 +343,7 @@ static gboolean
527f4ec62c72 2009-12-04 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
     5
 sync_settings (GpmDpms *dpms,
527f4ec62c72 2009-12-04 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
     6
 	       GError **error)
527f4ec62c72 2009-12-04 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
     7
 {
527f4ec62c72 2009-12-04 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
     8
+#if 0
527f4ec62c72 2009-12-04 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
     9
 	guint    standby;
527f4ec62c72 2009-12-04 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    10
 	guint    suspend;
527f4ec62c72 2009-12-04 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    11
 	guint    off;
527f4ec62c72 2009-12-04 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    12
@@ -378,6 +379,8 @@ sync_settings (GpmDpms *dpms,
527f4ec62c72 2009-12-04 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    13
 					      suspend,
527f4ec62c72 2009-12-04 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    14
 					      off,
527f4ec62c72 2009-12-04 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    15
 					      error);
527f4ec62c72 2009-12-04 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    16
+#endif
527f4ec62c72 2009-12-04 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    17
+	return TRUE;
527f4ec62c72 2009-12-04 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    18
 }
527f4ec62c72 2009-12-04 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    19
 
527f4ec62c72 2009-12-04 Brian Cameron <[email protected]>
yippi
parents:
diff changeset
    20
 gboolean