mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-03-03 12:31:32 -08:00
improve code readability.
* src/gtkutil.c (xg_create_frame_widgets):
This commit is contained in:
parent
ef67659e98
commit
cbd28cddea
1 changed files with 6 additions and 10 deletions
|
|
@ -1366,17 +1366,13 @@ xg_create_frame_widgets (struct frame *f)
|
|||
wtop = gtk_plug_new_for_display (gdpy, f->output_data.xp->parent_desc);
|
||||
}
|
||||
else
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_PGTK
|
||||
if (!NILP(f->parent_frame)){
|
||||
type = GTK_WINDOW_POPUP;
|
||||
}
|
||||
#endif
|
||||
|
||||
wtop = gtk_window_new (type);
|
||||
#else
|
||||
if (!NILP(f->parent_frame)){
|
||||
type = GTK_WINDOW_POPUP;
|
||||
}
|
||||
wtop = gtk_window_new (type);
|
||||
#ifdef HAVE_PGTK
|
||||
gtk_widget_add_events(wtop, GDK_ALL_EVENTS_MASK);
|
||||
gtk_widget_add_events(wtop, GDK_ALL_EVENTS_MASK);
|
||||
#endif
|
||||
|
||||
/* gtk_window_set_has_resize_grip is a Gtk+ 3.0 function but Ubuntu
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue