+2005-01-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
+
+ * freebrowser.c (browser_cb):
+ * combox.c (combox_handle, state_cb, chosen_cb):
+ * bmtable.c (handle_bitmaptable, fl_replace_bmtable_item)
+ (fl_get_bmtable_item): Silence warnings about unused parameters.
+
2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
* bmtable.c (fl_set_bmtable_pixmap_data):
int handle_bitmaptable(FL_OBJECT * ob, int event, FL_Coord mx,
FL_Coord my, int key, void * xev)
{
+ /* Silence warning about unused parameter */
+ (void) xev;
+
int i, j;
BMTABLE_SPEC * sp = (BMTABLE_SPEC *)ob->spec;
void fl_replace_bmtable_item(FL_OBJECT * ob, int id, int cw, int ch, char * data)
{
+ /* Silence warnings about unused parameters */
+ (void) ob;
+ (void) id;
+ (void) cw;
+ (void) ch;
+ (void) data;
+
fprintf(stderr, "Replace bmtable item: Sorry, not yet implemented!\n");
}
void fl_get_bmtable_item(FL_OBJECT * ob, int id, int * cw, int * ch, char * data)
{
+ /* Silence warnings about unused parameters */
+ (void) ob;
+ (void) id;
+ (void) cw;
+ (void) ch;
+ (void) data;
+
fprintf(stderr, "Get bmtable item: Sorry, not yet implemented!\n");
}
}
/* Free the current pixmap in preparation for installing a new one */
-/* This is needed when using data instead of files to set bitmaps */
+/* This is needed when using data instead of files to set bitmaps */
void fl_free_bmtable_pixmap(FL_OBJECT *ob)
{
BMTABLE_SPEC * sp = (BMTABLE_SPEC *)ob->spec;
combox_handle(FL_OBJECT * ob, int event, FL_Coord mx, FL_Coord my, int key,
void * ev)
{
+ /* Silence warnings about unused parameters */
+ (void) mx;
+ (void) my;
+ (void) key;
+ (void) ev;
+
if (!ob || ob->objclass != FL_COMBOX)
return 0;
static void
state_cb(FL_OBJECT * ob, long data)
{
+ /* Silence warning about unused parameter */
+ (void) data;
+
show_browser(ob->u_vdata);
}
static void
chosen_cb(FL_OBJECT * ob, long data)
{
+ /* Silence warning about unused parameter */
+ (void) data;
+
show_browser(ob->u_vdata);
}