~ubuntu-branches/ubuntu/feisty/gnome-screensaver/feisty

« back to all changes in this revision

Viewing changes to src/gs-marshal.c

  • Committer: Bazaar Package Importer
  • Author(s): Oliver Grawert
  • Date: 2006-07-25 11:29:02 UTC
  • mfrom: (1.1.11 upstream)
  • Revision ID: james.westby@ubuntu.com-20060725112902-w7m0z2zdc8fbyf10
Tags: 2.15.5-0ubuntu1
* New upstream version
  * Ignore brightness keys. Patch from Matthew Garrett. Fixes #347854
  * Listen for KEY_COFEE from HAL.  Lock screen in response. Based on 
    patch from downstream Ubuntu. Fixes #347854
  * Populate the themes list in an idle.  Should speed up startup a bit.
  * Only show message when we have a response.
  * Add a bit more padding to make it more like what we had for 2.14 
    and to stand out more since we don't have window decoration.
  * Make sure to grab focus to the entry when a prompt is shown.  Only
    desensitize the buttons and entry box as we did in 2.14. 
    Fixes #347788.
  * Make test-window work again after signal changes.
  * Use gdk_window_focus instead of gtk_window_present to prevent theme 
    flicker. Patch from Ryan Lortie <desrt@desrt.ca> Fixes #347853.
  * Emit a signal when activity is detected on the window.  Allow the 
    manager to decide whether an unlock request should occur and where.  
    Make the dialog appear on the correct window when in xinerama.
  * Don't queue escape.
  * Add some debug spew.  Resume jobs after resetting dialog up flag.
  * Stop running screensaver themes on each window when it is completely 
    obscured.  This happens when the VT switches.  We resume running the 
    theme when the window is unobscured.  We additionally try to attempt
    unlock (or request authentication) when unobscured. Fixes #339330
  * Use dbus_connection_close not _disconnect Fixes #347126
* drop 10_dont_flicker_on_watchdog.patch (included upstream (see above))
* drop 70_listen_for_coffee.patch (included upstream (see above))
* drop 71_listen_for_coffee_fix.patch (included upstream (see above))
* drop 85_ignore_brightness_keys.patch (included upstream (see above))

Show diffs side-by-side

added added

removed removed

Lines of Context:
48
48
#endif /* !G_ENABLE_DEBUG */
49
49
 
50
50
 
51
 
/* BOOLEAN:INT (gs-marshal.list:1) */
 
51
/* BOOLEAN:VOID (gs-marshal.list:1) */
 
52
void
 
53
gs_marshal_BOOLEAN__VOID (GClosure     *closure,
 
54
                          GValue       *return_value,
 
55
                          guint         n_param_values,
 
56
                          const GValue *param_values,
 
57
                          gpointer      invocation_hint,
 
58
                          gpointer      marshal_data)
 
59
{
 
60
  typedef gboolean (*GMarshalFunc_BOOLEAN__VOID) (gpointer     data1,
 
61
                                                  gpointer     data2);
 
62
  register GMarshalFunc_BOOLEAN__VOID callback;
 
63
  register GCClosure *cc = (GCClosure*) closure;
 
64
  register gpointer data1, data2;
 
65
  gboolean v_return;
 
66
 
 
67
  g_return_if_fail (return_value != NULL);
 
68
  g_return_if_fail (n_param_values == 1);
 
69
 
 
70
  if (G_CCLOSURE_SWAP_DATA (closure))
 
71
    {
 
72
      data1 = closure->data;
 
73
      data2 = g_value_peek_pointer (param_values + 0);
 
74
    }
 
75
  else
 
76
    {
 
77
      data1 = g_value_peek_pointer (param_values + 0);
 
78
      data2 = closure->data;
 
79
    }
 
80
  callback = (GMarshalFunc_BOOLEAN__VOID) (marshal_data ? marshal_data : cc->callback);
 
81
 
 
82
  v_return = callback (data1,
 
83
                       data2);
 
84
 
 
85
  g_value_set_boolean (return_value, v_return);
 
86
}
 
87
 
 
88
/* BOOLEAN:INT (gs-marshal.list:2) */
52
89
void
53
90
gs_marshal_BOOLEAN__INT (GClosure     *closure,
54
91
                         GValue       *return_value,
87
124
  g_value_set_boolean (return_value, v_return);
88
125
}
89
126
 
90
 
/* BOOLEAN:BOOLEAN (gs-marshal.list:2) */
 
127
/* BOOLEAN:BOOLEAN (gs-marshal.list:3) */
91
128
void
92
129
gs_marshal_BOOLEAN__BOOLEAN (GClosure     *closure,
93
130
                             GValue       *return_value,