sdgui: create and install a program icon

This commit is contained in:
2021-10-27 07:45:43 +02:00
parent 451859e976
commit c75de30765
4 changed files with 59 additions and 0 deletions

View File

@@ -27,6 +27,9 @@
#include "utils.h"
#include "stardict-view.h"
#undef PROJECT_NAME
#define PROJECT_NAME "sdgui"
static struct
{
GtkWidget *window; ///< Top-level window
@@ -385,6 +388,8 @@ main (int argc, char *argv[])
return 1;
}
gtk_window_set_default_icon_name (PROJECT_NAME);
g.dictionaries =
g_ptr_array_new_with_free_func ((GDestroyNotify) dictionary_destroy);
if (filenames)