projects
/
lttv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
install lttvwindow in normal lib dir
[lttv.git]
/
ltt
/
branches
/
poly
/
lttv
/
modules
/
gui
/
lttvwindow
/
lttvwindow
/
toolbar.c
diff --git
a/ltt/branches/poly/lttv/modules/gui/lttvwindow/lttvwindow/toolbar.c
b/ltt/branches/poly/lttv/modules/gui/lttvwindow/lttvwindow/toolbar.c
index 8a7eb4a227e228d3cca56c2ef5b635ed384ea068..a01986d9e26a3c2cf5e44aa318b6883e9d1b270e 100644
(file)
--- a/
ltt/branches/poly/lttv/modules/gui/lttvwindow/lttvwindow/toolbar.c
+++ b/
ltt/branches/poly/lttv/modules/gui/lttvwindow/lttvwindow/toolbar.c
@@
-16,6
+16,10
@@
* MA 02111-1307, USA.
*/
* MA 02111-1307, USA.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <lttv/lttv.h>
#include <lttvwindow/toolbar.h>
#include <lttv/lttv.h>
#include <lttvwindow/toolbar.h>
@@
-37,14
+41,11
@@
LttvToolbarClosure lttv_toolbars_add(LttvToolbars *h,
{
LttvToolbarClosure c;
{
LttvToolbarClosure c;
- /* if h is null, do nothing, or popup a warning message */
- if(h == NULL)return;
-
c.con = f;
c.tooltip = tooltip;
c.pixmap = pixmap;
c.widget = widget;
c.con = f;
c.tooltip = tooltip;
c.pixmap = pixmap;
c.widget = widget;
- g_array_append_val(h,c);
+
if(h != NULL)
g_array_append_val(h,c);
return c;
}
return c;
}
@@
-52,7
+53,7
@@
LttvToolbarClosure lttv_toolbars_add(LttvToolbars *h,
GtkWidget *lttv_toolbars_remove(LttvToolbars *h, lttvwindow_viewer_constructor f)
{
LttvToolbarClosure * tmp;
GtkWidget *lttv_toolbars_remove(LttvToolbars *h, lttvwindow_viewer_constructor f)
{
LttvToolbarClosure * tmp;
- gint i;
+ g
u
int i;
GtkWidget *widget;
for(i=0;i<h->len;i++){
GtkWidget *widget;
for(i=0;i<h->len;i++){
This page took
0.029931 seconds
and
4
git commands to generate.