Add the window icon.

This commit is contained in:
Giuseppe 2012-05-30 13:40:38 +03:00
parent 2ffda9fbec
commit 77b5fa0ab7
1 changed files with 4 additions and 0 deletions

View File

@ -166,6 +166,10 @@ int main(int argc, char **argv) {
GtkWidget *window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
/*gtk_window_set_default_size(GTK_WINDOW(window), 400, 400);*/
GdkPixbuf *icon = gtk_icon_theme_load_icon (gtk_icon_theme_get_default (), "terminal", 48, 0, NULL);
if (icon) {
gtk_window_set_icon (GTK_WINDOW (window), icon);
}
GtkWidget *vte = vte_terminal_new();