| Date: Thu, 4 Apr 2002 16:10:23 +0000
Redundant and legacy code removed; now compiles with GTK+2 without needing
tthe GTK_ENABLE_BROKEN #define.
Diffstat:
M src/gtkport/gtkport.c | 1 -
M src/gui_client/gtk_client.c | 11 -----------
2 files changed, 0 insertions(+), 12 deletions(-)
--- |
| t@@ -24,8 +24,6 @@
#include
#endif
-#define GTK_ENABLE_BROKEN
-
#include
#include
#include
t@@ -2100,7 +2098,6 @@ gboolean GtkLoop(int *argc, char **argv[], gboolean ReturnOnFail)
*vpaned, *button, *clist;
GtkAccelGroup *accel_group;
GtkItemFactory *item_factory;
- GtkAdjustment *adj;
gint nmenu_items = sizeof(menu_items) / sizeof(menu_items[0]);
#ifdef CYGWIN
t@@ -2180,14 +2177,6 @@ gboolean GtkLoop(int *argc, char **argv[], gboolean ReturnOnFail)
vpaned = gtk_vpaned_new();
-/*adj = (GtkAdjustment *)gtk_adjustment_new(0.0, 0.0, 100.0,
- 1.0, 10.0, 10.0);
- text = ClientData.messages = gtk_scrolled_text_new(NULL, adj, &hbox);
- gtk_widget_set_usize(text, 100, 80);
- gtk_text_set_point(GTK_TEXT(text), 0);
- gtk_text_set_editable(GTK_TEXT(text), FALSE);
- gtk_text_set_word_wrap(GTK_TEXT(text), TRUE);*/
-
text = ClientData.messages = gtk_scrolled_text_view_new(&hbox);
make_tags(GTK_TEXT_VIEW(text));
gtk_widget_set_usize(text, 100, 80); |