void hdaps_about(XfcePanelPlugin *plugin) {
- GdkPixbuf *icon;
-
const gchar *authors[] = { "Michael Orlitzky <michael@orlitzky.com>", NULL };
const gchar *copyright = "Copyright \302\251 2010 Michael Orlitzky";
gtk_about_dialog_set_url_hook(hdaps_url_handler, NULL, NULL);
gtk_about_dialog_set_email_hook(hdaps_mailto_handler, NULL, NULL);
- icon = gtk_icon_theme_load_icon(gtk_icon_theme_get_default(),
- PACKAGE_NAME,
- 48, 0, NULL);
-
gtk_show_about_dialog(NULL,
"authors", authors,
"copyright", copyright,
"destroy-with-parent", TRUE,
"license", LICENSE_GPL3,
- "logo", icon,
"logo-icon-name", PACKAGE_NAME,
+ "icon-name", PACKAGE_NAME,
"name", PACKAGE_NAME,
"version", PACKAGE_VERSION,
"website", PLUGIN_WEBSITE,
"website-label", "xfce4-hdaps homepage",
NULL);
-
- g_object_unref(G_OBJECT(icon));
}