diff options
author | Charles Kerr <charles.kerr@canonical.com> | 2012-04-09 14:32:39 -0500 |
---|---|---|
committer | Charles Kerr <charles.kerr@canonical.com> | 2012-04-09 14:32:39 -0500 |
commit | a24e06c3bc23d2b929f1738f2cfe9b660b9bde04 (patch) | |
tree | 32a2de41fcb419a819b43d4d354bea3388796b7a /src/indicator-power.c | |
parent | 45bc12d01cb4b692f55f6bb4cf4fd663e17d34fc (diff) | |
download | ayatana-indicator-power-a24e06c3bc23d2b929f1738f2cfe9b660b9bde04.tar.gz ayatana-indicator-power-a24e06c3bc23d2b929f1738f2cfe9b660b9bde04.tar.bz2 ayatana-indicator-power-a24e06c3bc23d2b929f1738f2cfe9b660b9bde04.zip |
use atk_object_set_name(foo,bar)" instead of g_object_set(foo,"accessible-name",bar,NULL)"
Diffstat (limited to 'src/indicator-power.c')
-rw-r--r-- | src/indicator-power.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/indicator-power.c b/src/indicator-power.c index 19eff87..5d37da3 100644 --- a/src/indicator-power.c +++ b/src/indicator-power.c @@ -595,7 +595,7 @@ menu_add_device (GtkMenu *menu, item = gtk_image_menu_item_new (); atk_object = gtk_widget_get_accessible(item); if (atk_object != NULL) - g_object_set (G_OBJECT(atk_object), "accessible-name", accessible_name, NULL); + atk_object_set_name (atk_object, accessible_name); grid = gtk_grid_new (); gtk_grid_set_column_spacing (GTK_GRID (grid), 6); |