5 diff -uEBbr orig/Makefile.in new/Makefile.in
6 --- orig/Makefile.in 2010-04-16 17:38:59.000000000 +0300
7 +++ new/Makefile.in 2011-12-08 06:04:05.000000000 +0200
10 CFLAGS = @XX_CFLAGS@ @CFLAGS@
12 -DEFINES = @DEFINES@ -DG_DISABLE_DEPRECATED \
13 +DEFINES = @DEFINES@ #-DG_DISABLE_DEPRECATED \
14 -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED \
15 -DGTK_DISABLE_DEPRECATED
20 diff -uEBbr orig/fontgrid.c new/fontgrid.c
21 --- orig/fontgrid.c 2010-04-16 17:39:02.000000000 +0300
22 +++ new/fontgrid.c 2011-12-08 05:58:36.000000000 +0200
24 g_return_if_fail(IS_FONTGRID(widget));
26 fw = FONTGRID(widget);
27 - GTK_WIDGET_SET_FLAGS(widget, GTK_REALIZED);
28 + /*GTK_WIDGET_SET_FLAGS(widget, GTK_REALIZED);*/
29 + gtk_widget_set_realized(widget, TRUE);
31 attributes.window_type = GDK_WINDOW_CHILD;
32 attributes.x = widget->allocation.x;
34 g_return_val_if_fail(IS_FONTGRID(widget), FALSE);
35 g_return_val_if_fail(event != NULL, FALSE);
37 - GTK_WIDGET_SET_FLAGS(widget, GTK_HAS_FOCUS);
38 + /*GTK_WIDGET_SET_FLAGS(widget, GTK_HAS_FOCUS);*/
39 + gtk_widget_set_can_focus(widget, TRUE);
40 fontgrid_draw_focus(widget, 0);
44 g_return_val_if_fail(IS_FONTGRID(widget), FALSE);
45 g_return_val_if_fail(event != NULL, FALSE);
47 - GTK_WIDGET_UNSET_FLAGS(widget, GTK_HAS_FOCUS);
48 + /*GTK_WIDGET_UNSET_FLAGS(widget, GTK_HAS_FOCUS);*/
49 + gtk_widget_set_can_focus(widget, FALSE);
50 fontgrid_draw_focus(widget, 0);
54 * Deal with the focus issue first.
56 if (!GTK_WIDGET_HAS_FOCUS(widget)) {
57 - GTK_WIDGET_SET_FLAGS(widget, GTK_HAS_FOCUS);
58 + /*GTK_WIDGET_SET_FLAGS(widget, GTK_HAS_FOCUS);*/
59 + gtk_widget_set_can_focus(widget, TRUE);
60 (void) fontgrid_draw_focus(widget, NULL);
64 * Deal with the focus issue first.
66 if (!GTK_WIDGET_HAS_FOCUS(widget)) {
67 - GTK_WIDGET_SET_FLAGS(widget, GTK_HAS_FOCUS);
68 + /*GTK_WIDGET_SET_FLAGS(widget, GTK_HAS_FOCUS);*/
69 + gtk_widget_set_can_focus(widget, TRUE);
70 (void) fontgrid_draw_focus(widget, NULL);
77 - GTK_WIDGET_SET_FLAGS(fw, GTK_CAN_FOCUS);
78 + /*GTK_WIDGET_SET_FLAGS(fw, GTK_CAN_FOCUS);*/
79 + gtk_widget_set_can_focus(GTK_WIDGET(fw), TRUE);
81 gtk_widget_style_get(GTK_WIDGET(fw),
82 "focus-line-width", &fwidth,
83 diff -uEBbr orig/gectrl.c new/gectrl.c
84 --- orig/gectrl.c 2010-04-16 17:39:03.000000000 +0300
85 +++ new/gectrl.c 2011-12-08 06:00:26.000000000 +0200
87 * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
91 #include <gtk/gtklabel.h>
93 #include "gectrlbmaps.h"
98 gbdfed (bitmap font editor)
100 gbdfed lets you interactively create new bitmap font files or modify
101 existing ones. It allows editing multiple fonts and multiple glyphs,
102 it allows cut and paste operations between fonts and glyphs and
103 editing font properties. The editor works natively with BDF fonts.