Fixed some warnings.
2000-04-27 Christopher James Lahey <clahey@helixcode.com> * arrow-down.xpm, arrow-up.xpm, e-cell-text.c, e-cell-toggle.c, e-table-col.c, e-table-config.c, e-table-header-item.c: Fixed some warnings. svn path=/trunk/; revision=2659
This commit is contained in:
committed by
Chris Lahey
parent
465efaf4dd
commit
917d28e2df
@ -1,5 +1,5 @@
|
||||
/* XPM */
|
||||
static char * arrow_down_xpm[] = {
|
||||
static const char * arrow_down_xpm[] = {
|
||||
"13 16 2 1",
|
||||
" c None",
|
||||
". c #FF0000",
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
/* XPM */
|
||||
static char * arrow_up_xpm[] = {
|
||||
static const char * arrow_up_xpm[] = {
|
||||
"13 16 2 1",
|
||||
" c None",
|
||||
". c #FF0000",
|
||||
|
||||
@ -748,7 +748,6 @@ static gint
|
||||
ect_event (ECellView *ecell_view, GdkEvent *event, int model_col, int view_col, int row)
|
||||
{
|
||||
ECellTextView *text_view = (ECellTextView *) ecell_view;
|
||||
ECellText *ect = E_CELL_TEXT (ecell_view->ecell);
|
||||
ETextEventProcessorEvent e_tep_event;
|
||||
gboolean edit_display = FALSE;
|
||||
CellEdit *edit = text_view->edit;
|
||||
|
||||
@ -90,7 +90,6 @@ etog_draw (ECellView *ecell_view, GdkDrawable *drawable,
|
||||
ECellToggle *toggle = E_CELL_TOGGLE (ecell_view->ecell);
|
||||
ECellToggleView *toggle_view = (ECellToggleView *) ecell_view;
|
||||
GdkPixbuf *image;
|
||||
GdkPixbuf *flat;
|
||||
int x, y, width, height;
|
||||
const int value = GPOINTER_TO_INT (
|
||||
e_table_model_value_at (ecell_view->e_table_model, model_col, row));
|
||||
|
||||
@ -102,7 +102,7 @@ e_table_col_new_with_pixbuf (int col_idx, GdkPixbuf *pixbuf, int width, int min_
|
||||
etc->selected = 0;
|
||||
etc->resizeable = resizable;
|
||||
|
||||
gtk_object_ref (etc->ecell);
|
||||
gtk_object_ref (GTK_OBJECT(etc->ecell));
|
||||
gdk_pixbuf_ref (etc->pixbuf);
|
||||
|
||||
return etc;
|
||||
|
||||
@ -95,7 +95,8 @@ get_filter (ETable *etable)
|
||||
static void
|
||||
load_label_data (GladeXML *gui, ETable *etable)
|
||||
{
|
||||
xmlNode *xmlRoot;
|
||||
/* FIXME: Set this to the right value. */
|
||||
xmlNode *xmlRoot = NULL;
|
||||
char *s;
|
||||
|
||||
/* xmlRoot = xmlDocGetRootElement (etable->specification); */
|
||||
|
||||
@ -374,7 +374,7 @@ static void
|
||||
ethi_add_drop_marker (ETableHeaderItem *ethi, int col)
|
||||
{
|
||||
int rx, ry;
|
||||
int x, y;
|
||||
int x;
|
||||
|
||||
if (ethi->drag_mark == col)
|
||||
return;
|
||||
@ -925,11 +925,14 @@ ethi_start_drag (ETableHeaderItem *ethi, GdkEvent *event)
|
||||
g_hash_table_destroy (arrows);
|
||||
}
|
||||
|
||||
/* FIXME: Implement this. */
|
||||
#if 0
|
||||
static GtkMenu *
|
||||
ethi_create_context_menu (ETableHeaderItem *ethi)
|
||||
{
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
static EPopupMenu ethi_context_menu [] = {
|
||||
{ NULL, NULL, NULL, 0 }
|
||||
};
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
/* XPM */
|
||||
static char * arrow_down_xpm[] = {
|
||||
static const char * arrow_down_xpm[] = {
|
||||
"13 16 2 1",
|
||||
" c None",
|
||||
". c #FF0000",
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
/* XPM */
|
||||
static char * arrow_up_xpm[] = {
|
||||
static const char * arrow_up_xpm[] = {
|
||||
"13 16 2 1",
|
||||
" c None",
|
||||
". c #FF0000",
|
||||
|
||||
@ -748,7 +748,6 @@ static gint
|
||||
ect_event (ECellView *ecell_view, GdkEvent *event, int model_col, int view_col, int row)
|
||||
{
|
||||
ECellTextView *text_view = (ECellTextView *) ecell_view;
|
||||
ECellText *ect = E_CELL_TEXT (ecell_view->ecell);
|
||||
ETextEventProcessorEvent e_tep_event;
|
||||
gboolean edit_display = FALSE;
|
||||
CellEdit *edit = text_view->edit;
|
||||
|
||||
@ -90,7 +90,6 @@ etog_draw (ECellView *ecell_view, GdkDrawable *drawable,
|
||||
ECellToggle *toggle = E_CELL_TOGGLE (ecell_view->ecell);
|
||||
ECellToggleView *toggle_view = (ECellToggleView *) ecell_view;
|
||||
GdkPixbuf *image;
|
||||
GdkPixbuf *flat;
|
||||
int x, y, width, height;
|
||||
const int value = GPOINTER_TO_INT (
|
||||
e_table_model_value_at (ecell_view->e_table_model, model_col, row));
|
||||
|
||||
@ -102,7 +102,7 @@ e_table_col_new_with_pixbuf (int col_idx, GdkPixbuf *pixbuf, int width, int min_
|
||||
etc->selected = 0;
|
||||
etc->resizeable = resizable;
|
||||
|
||||
gtk_object_ref (etc->ecell);
|
||||
gtk_object_ref (GTK_OBJECT(etc->ecell));
|
||||
gdk_pixbuf_ref (etc->pixbuf);
|
||||
|
||||
return etc;
|
||||
|
||||
@ -95,7 +95,8 @@ get_filter (ETable *etable)
|
||||
static void
|
||||
load_label_data (GladeXML *gui, ETable *etable)
|
||||
{
|
||||
xmlNode *xmlRoot;
|
||||
/* FIXME: Set this to the right value. */
|
||||
xmlNode *xmlRoot = NULL;
|
||||
char *s;
|
||||
|
||||
/* xmlRoot = xmlDocGetRootElement (etable->specification); */
|
||||
|
||||
@ -374,7 +374,7 @@ static void
|
||||
ethi_add_drop_marker (ETableHeaderItem *ethi, int col)
|
||||
{
|
||||
int rx, ry;
|
||||
int x, y;
|
||||
int x;
|
||||
|
||||
if (ethi->drag_mark == col)
|
||||
return;
|
||||
@ -925,11 +925,14 @@ ethi_start_drag (ETableHeaderItem *ethi, GdkEvent *event)
|
||||
g_hash_table_destroy (arrows);
|
||||
}
|
||||
|
||||
/* FIXME: Implement this. */
|
||||
#if 0
|
||||
static GtkMenu *
|
||||
ethi_create_context_menu (ETableHeaderItem *ethi)
|
||||
{
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
static EPopupMenu ethi_context_menu [] = {
|
||||
{ NULL, NULL, NULL, 0 }
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user