diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/service.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/service.c b/src/service.c index 327d1c3..a0c7fd1 100644 --- a/src/service.c +++ b/src/service.c @@ -459,7 +459,7 @@ create_brightness_menuitem (IndicatorPowerService * self) get_brightness_range (self, &lo, &hi); - item = g_menu_item_new ("", "indicator.brightness"); + item = g_menu_item_new (NULL, "indicator.brightness"); g_menu_item_set_attribute (item, "x-canonical-type", "s", "com.canonical.unity.slider"); g_menu_item_set_attribute (item, "min-value", "d", brightness_to_percentage (self, lo)); g_menu_item_set_attribute (item, "max-value", "d", brightness_to_percentage (self, hi)); |