Mercurial > emacs
comparison src/gtkutil.c @ 95954:184aae567806
* xfns.c (Fx_create_frame): internal-border-width default to 0 for Gtk.
* gtkutil.c (xg_create_frame_widgets): Don't set internal_border_width.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Sun, 15 Jun 2008 05:53:48 +0000 |
parents | e4d692886628 |
children | f9d35151b907 |
comparison
equal
deleted
inserted
replaced
95953:bdf59d1e1bee | 95954:184aae567806 |
---|---|
907 /* Must use g_strdup because gtk_widget_modify_style does g_free. */ | 907 /* Must use g_strdup because gtk_widget_modify_style does g_free. */ |
908 style->bg_pixmap_name[GTK_STATE_NORMAL] = g_strdup ("<none>"); | 908 style->bg_pixmap_name[GTK_STATE_NORMAL] = g_strdup ("<none>"); |
909 gtk_widget_modify_style (wfixed, style); | 909 gtk_widget_modify_style (wfixed, style); |
910 | 910 |
911 /* GTK does not set any border, and they look bad with GTK. */ | 911 /* GTK does not set any border, and they look bad with GTK. */ |
912 /* That they look bad is no excuse for imposing this here. --Stef | |
913 It should be done by providing the proper default in Fx_create_Frame. | |
912 f->border_width = 0; | 914 f->border_width = 0; |
913 f->internal_border_width = 0; | 915 f->internal_border_width = 0; */ |
914 | 916 |
915 UNBLOCK_INPUT; | 917 UNBLOCK_INPUT; |
916 | 918 |
917 return 1; | 919 return 1; |
918 } | 920 } |