diff options
author | Ted Gould <ted@gould.cx> | 2010-02-04 16:24:28 -0800 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2010-02-04 16:24:28 -0800 |
commit | 8808bcb6cb4ba76862495c5e1dbfd655e6f56063 (patch) | |
tree | e6121370659a1ebaca118e4f67d66f6218a760c6 | |
parent | 4f81ab9821d2a40e008f8dc2937ce1ea59960bef (diff) | |
parent | 4fc18241948ac5d075f6e92bb8d45695cd865c4f (diff) | |
download | libayatana-appindicator-8808bcb6cb4ba76862495c5e1dbfd655e6f56063.tar.gz libayatana-appindicator-8808bcb6cb4ba76862495c5e1dbfd655e6f56063.tar.bz2 libayatana-appindicator-8808bcb6cb4ba76862495c5e1dbfd655e6f56063.zip |
Interop fixes.
-rw-r--r-- | src/libappindicator/app-indicator.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libappindicator/app-indicator.c b/src/libappindicator/app-indicator.c index 1d8148c..908684f 100644 --- a/src/libappindicator/app-indicator.c +++ b/src/libappindicator/app-indicator.c @@ -988,8 +988,8 @@ static void widget_toggled (GtkWidget *widget, DbusmenuMenuitem *mi) { dbusmenu_menuitem_property_set_int (mi, - DBUSMENU_MENUITEM_PROP_TOGGLE_STATE, - gtk_check_menu_item_get_active (GTK_CHECK_MENU_ITEM (widget)) ? DBUSMENU_MENUITEM_TOGGLE_STATE_CHECKED : DBUSMENU_MENUITEM_TOGGLE_STATE_UNCHECKED); + DBUSMENU_MENUITEM_PROP_TOGGLE_STATE, + gtk_check_menu_item_get_active (GTK_CHECK_MENU_ITEM (widget)) ? DBUSMENU_MENUITEM_TOGGLE_STATE_CHECKED : DBUSMENU_MENUITEM_TOGGLE_STATE_UNCHECKED); } static void @@ -1122,8 +1122,8 @@ container_iterate (GtkWidget *widget, label_set = TRUE; dbusmenu_menuitem_property_set_int (child, - DBUSMENU_MENUITEM_PROP_TOGGLE_STATE, - gtk_check_menu_item_get_active (check) ? DBUSMENU_MENUITEM_TOGGLE_STATE_CHECKED : DBUSMENU_MENUITEM_TOGGLE_STATE_UNCHECKED); + DBUSMENU_MENUITEM_PROP_TOGGLE_STATE, + gtk_check_menu_item_get_active (check) ? DBUSMENU_MENUITEM_TOGGLE_STATE_CHECKED : DBUSMENU_MENUITEM_TOGGLE_STATE_UNCHECKED); g_signal_connect (widget, "toggled", |