Skip to content

Commit

Permalink
Fix compilation warning from fake_owner_gone() function
Browse files Browse the repository at this point in the history
Since fake_owner_gone() is no longer a callback, the parameter no
longer needs to be of abstract gpointer type.
  • Loading branch information
spiiroin committed Sep 3, 2014
1 parent be261b4 commit 2ac599b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions mce-dbus.c
Expand Up @@ -1897,9 +1897,8 @@ gboolean mce_dbus_is_owner_monitored(const gchar *service,
*
* @return Always FALSE
*/
static gboolean fake_owner_gone(gpointer data)
static gboolean fake_owner_gone(const char *owner)
{
const char *owner = data;
const char *empty = "";
DBusMessage *faked = dbus_new_signal("/org/freedesktop/DBus",
"org.freedesktop.DBus",
Expand Down

0 comments on commit 2ac599b

Please sign in to comment.