1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-02 01:20:54 +00:00
freebsd-ports/cad/geda-gschem/files/patch-src_x_menus.c
Stanislav Sedov 3451c7add3 - Update to 20060906
- Change my email
2006-10-10 07:44:57 +00:00

15 lines
341 B
C

--- src/x_menus.c.orig Sun Aug 6 20:18:09 2006
+++ src/x_menus.c Tue Oct 10 03:24:55 2006
@@ -241,7 +241,11 @@
static gchar* gettext_fn(const gchar *path,
gpointer func_data __attribute__((unused)))
{
+#if defined(ENABLE_NLS)
return gettext(path);
+#else
+ return path;
+#endif
}
GtkWidget *get_main_popup(TOPLEVEL *w_current)