[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#55497: 29.0.50; Emacs Windows unidentified in Wayland (correct bug-r
From: |
Po Lu |
Subject: |
bug#55497: 29.0.50; Emacs Windows unidentified in Wayland (correct bug-report) |
Date: |
Thu, 19 May 2022 15:47:41 +0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux) |
Julien Cubizolles <j.cubizolles@free.fr> writes:
> I have no experience in C programming. Don't know if I did the right
> thing: I added a print and return in this function:
>
> xg_set_icon_from_xpm_data (struct frame *f, const char **data)
> {
> GdkPixbuf *pixbuf = gdk_pixbuf_new_from_xpm_data (data);
>
> printf("Got into xg_set_icon_from_xpm_data.\n");
> return 1;
> if (!pixbuf)
> return false;
>
> if (!FRAME_GTK_OUTER_WIDGET (f))
> return false;
>
> gtk_window_set_icon (GTK_WINDOW (FRAME_GTK_OUTER_WIDGET (f)), pixbuf);
> g_object_unref (pixbuf);
> return true;
> }
>
> and built emacs from git after ./configure --with-pgtk
> . Emacs -Q didn't print the message nor dit it
> break. It doesn't seem to get to this function.
Thanks. I will look into this.