mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-04 06:31:13 -08:00
GTK+: stop calling 'gtk_window_set_wmclass' in new versions
* src/gtkutil.c (xg_create_frame_widgets): Stop calling deprecated function 'gtk_window_set_wmclass' in GTK+ 3.22.
This commit is contained in:
parent
7144e5e9f5
commit
f02e76fb8f
1 changed files with 2 additions and 0 deletions
|
|
@ -1227,9 +1227,11 @@ xg_create_frame_widgets (struct frame *f)
|
|||
a lot, so we turn off double buffering. */
|
||||
gtk_widget_set_double_buffered (wfixed, FALSE);
|
||||
|
||||
#if ! GTK_CHECK_VERSION (3, 22, 0)
|
||||
gtk_window_set_wmclass (GTK_WINDOW (wtop),
|
||||
SSDATA (Vx_resource_name),
|
||||
SSDATA (Vx_resource_class));
|
||||
#endif
|
||||
|
||||
/* Add callback to do nothing on WM_DELETE_WINDOW. The default in
|
||||
GTK is to destroy the widget. We want Emacs to do that instead. */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue