=== modified file 'libindicator/indicator-image-helper.c' --- libindicator/indicator-image-helper.c 2014-03-29 09:12:56 +0000 +++ libindicator/indicator-image-helper.c 2016-06-30 04:38:58 +0000 @@ -70,8 +70,14 @@ } if (icon_info != NULL && !G_IS_BYTES_ICON(icon_names)) { +#if GTK_MAJOR_VERSION >= 3 + GdkScreen *screen = gdk_screen_get_default(); + gint monitor = gdk_screen_get_primary_monitor(screen); + gint scale = gdk_screen_get_monitor_scale_factor(screen, monitor); + GdkPixbuf *pixbuf = gtk_icon_theme_load_icon_for_scale(default_theme, icon_filename, ICON_SIZE, scale, 0, NULL); +#else GdkPixbuf *pixbuf = gtk_icon_info_load_icon(icon_info, NULL); - +#endif if (gdk_pixbuf_get_height(pixbuf) < ICON_SIZE) { gtk_image_set_from_file(image, icon_filename); } else {