Commit e9cfeeb6 authored by Paolo Bacchilega's avatar Paolo Bacchilega
Browse files

removed some unused GthFileView functions

parent baec64d8
......@@ -38,21 +38,6 @@ gth_file_view_get_model (GthFileView *self)
}
void
gth_file_view_set_view_mode (GthFileView *self,
GthViewMode mode)
{
GTH_FILE_VIEW_GET_INTERFACE (self)->set_view_mode (self, mode);
}
GthViewMode
gth_file_view_get_view_mode (GthFileView *self)
{
return GTH_FILE_VIEW_GET_INTERFACE (self)->get_view_mode (self);
}
void
gth_file_view_scroll_to (GthFileView *self,
int pos,
......
......@@ -37,15 +37,7 @@ G_BEGIN_DECLS
typedef struct _GthFileView GthFileView;
typedef struct _GthFileViewIface GthFileViewIface;
typedef enum { /*< skip >*/
GTH_VIEW_MODE_NONE,
GTH_VIEW_MODE_FILENAME,
GTH_VIEW_MODE_COMMENT,
GTH_VIEW_MODE_COMMENT_OR_FILENAME,
GTH_VIEW_MODE_COMMENT_AND_FILENAME
} GthViewMode;
typedef enum { /*< skip >*/
typedef enum {
GTH_VISIBILITY_NONE,
GTH_VISIBILITY_FULL,
GTH_VISIBILITY_PARTIAL,
......@@ -61,9 +53,6 @@ struct _GthFileViewIface {
void (*set_model) (GthFileView *self,
GtkTreeModel *model);
GtkTreeModel * (*get_model) (GthFileView *self);
void (*set_view_mode) (GthFileView *self,
GthViewMode mode);
GthViewMode (*get_view_mode) (GthFileView *self);
void (*scroll_to) (GthFileView *self,
int pos,
double yalign);
......@@ -102,9 +91,6 @@ GType gth_file_view_get_type (void);
void gth_file_view_set_model (GthFileView *self,
GtkTreeModel *model);
GtkTreeModel * gth_file_view_get_model (GthFileView *self);
void gth_file_view_set_view_mode (GthFileView *self,
GthViewMode mode);
GthViewMode gth_file_view_get_view_mode (GthFileView *self);
void gth_file_view_scroll_to (GthFileView *self,
int pos,
double yalign);
......
......@@ -49,24 +49,6 @@ gth_icon_view_real_get_model (GthFileView *self)
}
static void
gth_icon_view_real_set_view_mode (GthFileView *base,
GthViewMode mode)
{
GthIconView * self;
self = GTH_ICON_VIEW (base);
}
static GthViewMode
gth_icon_view_real_get_view_mode (GthFileView *base)
{
GthIconView * self;
self = GTH_ICON_VIEW (base);
return GTH_VIEW_MODE_NONE;
}
static void
gth_icon_view_real_scroll_to (GthFileView *base,
int pos,
......@@ -463,8 +445,6 @@ gth_icon_view_gth_file_view_interface_init (GthFileViewIface *iface)
gth_icon_view_gth_file_view_parent_iface = g_type_interface_peek_parent (iface);
iface->set_model = gth_icon_view_real_set_model;
iface->get_model = gth_icon_view_real_get_model;
iface->set_view_mode = gth_icon_view_real_set_view_mode;
iface->get_view_mode = gth_icon_view_real_get_view_mode;
iface->scroll_to = gth_icon_view_real_scroll_to;
iface->get_visibility = gth_icon_view_real_get_visibility;
iface->get_at_position = gth_icon_view_real_get_at_position;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment