Enlightenment CVS committal
Author : dj2
Project : e17
Module : libs/ewl
Dir : e17/libs/ewl/src/bin/tests/colordialog
Modified Files:
ewl_colordialog_test.c
Log Message:
- tabs are a tricky beast. looks like I missed some.
===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/bin/tests/colordialog/ewl_colordialog_test.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- ewl_colordialog_test.c 6 May 2008 20:09:02 -0000 1.3
+++ ewl_colordialog_test.c 7 May 2008 13:38:15 -0000 1.4
@@ -8,7 +8,7 @@
static int create_test(Ewl_Container *win);
static void colordialog_cb_launch(Ewl_Widget *w, void *ev, void *data);
static void colordialog_cb_value_changed(Ewl_Widget *w, void *ev,
- void *data);
+ void *data);
void
test_info(Ewl_Test *test)
@@ -50,22 +50,22 @@
cd_ev = ev;
if (cd_ev->response == EWL_STOCK_OK)
{
- Ewl_Widget *o;
- unsigned int r, g, b, a;
+ Ewl_Widget *o;
+ unsigned int r, g, b, a;
- o = ewl_widget_name_find("colour_preview");
+ o = ewl_widget_name_find("colour_preview");
- ewl_colordialog_current_rgb_get(EWL_COLORDIALOG(w), &r, &g, &b);
- a = ewl_colordialog_alpha_get(EWL_COLORDIALOG(w));
+ ewl_colordialog_current_rgb_get(EWL_COLORDIALOG(w), &r, &g,
&b);
+ a = ewl_colordialog_alpha_get(EWL_COLORDIALOG(w));
- ewl_widget_color_set(o, r, g, b, a);
+ ewl_widget_color_set(o, r, g, b, a);
}
ewl_widget_destroy(w);
}
static void
colordialog_cb_launch(Ewl_Widget *w __UNUSED__, void *ev __UNUSED__,
- void *data __UNUSED__)
+ void *data __UNUSED__)
{
Ewl_Widget *o;
unsigned int r, g, b, a;
@@ -76,7 +76,7 @@
o = ewl_colordialog_new();
ewl_colordialog_previous_rgba_set(EWL_COLORDIALOG(o), r, g, b, a);
ewl_callback_append(o, EWL_CALLBACK_VALUE_CHANGED,
- colordialog_cb_value_changed, NULL);
+ colordialog_cb_value_changed, NULL);
ewl_widget_show(o);
}
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs