SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
24
math/grpn/patches/patch-main_c
Normal file
24
math/grpn/patches/patch-main_c
Normal file
|
@ -0,0 +1,24 @@
|
|||
Port to gtk+2.
|
||||
|
||||
--- main.c.orig Thu Apr 4 05:46:11 2002
|
||||
+++ main.c Tue Mar 23 21:33:01 2010
|
||||
@@ -23,6 +23,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston,
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
+#include <stdlib.h>
|
||||
+#include <locale.h>
|
||||
#ifdef USE_GNOME
|
||||
#include <gnome.h>
|
||||
#endif
|
||||
@@ -156,8 +158,8 @@ main(int argc, char *argv[])
|
||||
exit(0);
|
||||
}
|
||||
new_style = gtk_style_copy(default_style);
|
||||
- new_style->font = new_font;
|
||||
- gtk_widget_set_default_style(new_style);
|
||||
+ new_style->font_desc = new_font;
|
||||
+/* gtk_widget_set_default_style(new_style); */
|
||||
}
|
||||
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue