im.pidgin.pidgin.next.minor: 0c9637482b845cc65e95a26e144697391c51133f
sadrul at pidgin.im
sadrul at pidgin.im
Fri Nov 9 22:25:34 EST 2007
-----------------------------------------------------------------
Revision: 0c9637482b845cc65e95a26e144697391c51133f
Ancestor: eb98a9d415b707f51d82a14c06c9b2314199a4b8
Author: sadrul at pidgin.im
Date: 2007-11-10T01:18:15
Branch: im.pidgin.pidgin.next.minor
Modified files:
finch/libgnt/gntmain.c finch/libgnt/gnttree.c
finch/libgnt/gntws.h finch/libgnt/test/Makefile
ChangeLog:
Minor adjustments to prevent a crash, correct a data type and fix drawing.
-------------- next part --------------
============================================================
--- finch/libgnt/gntmain.c f2726f32514b849279d9f27bae557769bf0ef8a3
+++ finch/libgnt/gntmain.c 5b60093a6933caeb119be331d322d3ee025f4b20
@@ -291,7 +291,8 @@ end:
k += p;
}
end:
- gnt_wm_set_event_stack(wm, FALSE);
+ if (wm)
+ gnt_wm_set_event_stack(wm, FALSE);
g_free(cvrt);
return TRUE;
}
============================================================
--- finch/libgnt/gnttree.c 3f5cc11303eefc2986bf7396e6b10e458abdbf1f
+++ finch/libgnt/gnttree.c 167add2780137d49085ed34142dfde5c3d267103
@@ -1777,7 +1777,8 @@ void gnt_tree_set_column_visible(GntTree
break;
}
}
- readjust_columns(tree);
+ if (GNT_WIDGET_IS_FLAG_SET(GNT_WIDGET(tree), GNT_WIDGET_MAPPED))
+ readjust_columns(tree);
}
void gnt_tree_set_column_resizable(GntTree *tree, int col, gboolean res)
============================================================
--- finch/libgnt/gntws.h 4f08ed4229316ee8cf88a30608d214f2429e14c1
+++ finch/libgnt/gntws.h 085c058d9a4aacb2b1a3451d8490625939bfdd10
@@ -42,7 +42,7 @@ struct _GntWS
struct _GntWS
{
GntBindable inherit;
- gchar *name;
+ char *name;
GList *list;
GList *ordered;
gpointer ui_data;
============================================================
--- finch/libgnt/test/Makefile 78bc4cc28a6a22e493020b2f70528a1ba3f2246e
+++ finch/libgnt/test/Makefile 20ec131feec17dd75ca8c0214c72382aafca36ce
@@ -1,5 +1,5 @@ CC=gcc
CC=gcc
-CFLAGS=`pkg-config --cflags gobject-2.0 gmodule-2.0` -g -I../ -DSTANDALONE -I/usr/inclue/ncursesw/
+CFLAGS=`pkg-config --cflags gobject-2.0 gmodule-2.0` -g -I../ -DSTANDALONE -I/usr/include/ncursesw/
LDFLAGS=`pkg-config --libs gobject-2.0 gmodule-2.0 gnt` -pg
EXAMPLES=combo focus tv multiwin keys menu parse
More information about the Commits
mailing list