projects
/
lttv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added lttv_filter_clone(...) prototype
[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..72f4a1573bf87e4bc985d3126f51d5b941aee920 100644
(file)
--- a/
ltt/branches/poly/lttv/modules/gui/lttvwindow/lttvwindow/toolbar.c
+++ b/
ltt/branches/poly/lttv/modules/gui/lttvwindow/lttvwindow/toolbar.c
@@
-37,14
+37,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
+49,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.023991 seconds
and
4
git commands to generate.