Mercurial > projects > xinhibit-applet
diff xia-icon.c @ 13:14f31e92372f
Fix style
author | Guido Berhoerster <guido+xinhibit-applet@berhoerster.name> |
---|---|
date | Thu, 17 Apr 2014 11:01:25 +0200 |
parents | 9a16bf50daba |
children |
line wrap: on
line diff
--- a/xia-icon.c Thu Apr 17 10:48:09 2014 +0200 +++ b/xia-icon.c Thu Apr 17 11:01:25 2014 +0200 @@ -28,11 +28,10 @@ G_DEFINE_TYPE(XiaIcon, xia_icon, G_TYPE_OBJECT) -#define XIA_ICON_GET_PRIVATE(obj) (G_TYPE_INSTANCE_GET_PRIVATE((obj), \ - XIA_TYPE_ICON, XiaIconPrivate)) +#define XIA_ICON_GET_PRIVATE(obj) (G_TYPE_INSTANCE_GET_PRIVATE((obj),\ + XIA_TYPE_ICON, XiaIconPrivate)) -struct _XiaIconPrivate -{ +struct _XiaIconPrivate { XiaInhibitor *inhibitor; GtkStatusIcon *status_icon; @@ -40,11 +39,11 @@ GtkWidget *check_menu_item_inhibited; }; -static void icon_update(XiaIcon *self); -static GtkWidget* icon_popup_menu_create(XiaIcon *self); -static void icon_popup_menu_popup(GtkStatusIcon *status_icon, guint button, +static void icon_update(XiaIcon *self); +static GtkWidget * icon_popup_menu_create(XiaIcon *self); +static void icon_popup_menu_popup(GtkStatusIcon *status_icon, guint button, guint activate_time, gpointer user_data); -static void icon_activate(GtkStatusIcon *status_icon, gpointer user_data); +static void icon_activate(GtkStatusIcon *status_icon, gpointer user_data); static void xia_icon_finalize(GObject *gobject)