~cjcurran/indicator-session/utf8-once-again

« back to all changes in this revision

Viewing changes to src/gtk-logout-helper.c

  • Committer: Ted Gould
  • Date: 2011-09-27 15:44:26 UTC
  • mfrom: (217.2.1 lp740382)
  • Revision ID: ted@gould.cx-20110927154426-0zh1ioq0mn1ygt03
Removing an error and fixing the parameters.

Show diffs side-by-side

added added

removed removed

Lines of Context:
55
55
                        dbus_g_proxy_call(proxy,
56
56
                                          "Stop",
57
57
                                          &error,
 
58
                                          G_TYPE_INVALID,
58
59
                                          G_TYPE_INVALID);
59
60
                        break;
60
61
                case LOGOUT_DIALOG_TYPE_RESTART:
62
63
                        dbus_g_proxy_call(proxy,
63
64
                                          "Restart",
64
65
                                          &error,
 
66
                                          G_TYPE_INVALID,
65
67
                                          G_TYPE_INVALID);
66
68
                        break;
67
69
                default:
72
74
        g_object_unref(proxy);
73
75
 
74
76
        if (error != NULL) {
75
 
                g_error("Unable to signal ConsoleKit");
 
77
                g_warning("Unable to signal ConsoleKit");
76
78
                g_error_free(error);
77
79
        }
78
80