diff options
author | Marco Pesenti Gritti <marco@it.gnome.org> | 2003-04-08 03:41:46 +0800 |
---|---|---|
committer | Marco Pesenti Gritti <mpeseng@src.gnome.org> | 2003-04-08 03:41:46 +0800 |
commit | 20dd70b526a557dccd623f9a1c0b05720317e9f7 (patch) | |
tree | b138618f8e9d3daf7d9d915495b367dbec198b1e /lib/widgets/eggtreemultidnd.h | |
parent | 30177ef207092d95ebbc2c835d52262618436c90 (diff) | |
download | gsoc2013-epiphany-20dd70b526a557dccd623f9a1c0b05720317e9f7.tar gsoc2013-epiphany-20dd70b526a557dccd623f9a1c0b05720317e9f7.tar.gz gsoc2013-epiphany-20dd70b526a557dccd623f9a1c0b05720317e9f7.tar.bz2 gsoc2013-epiphany-20dd70b526a557dccd623f9a1c0b05720317e9f7.tar.lz gsoc2013-epiphany-20dd70b526a557dccd623f9a1c0b05720317e9f7.tar.xz gsoc2013-epiphany-20dd70b526a557dccd623f9a1c0b05720317e9f7.tar.zst gsoc2013-epiphany-20dd70b526a557dccd623f9a1c0b05720317e9f7.zip |
Move and autoupdate these from egg.
2003-04-07 Marco Pesenti Gritti <marco@it.gnome.org>
* lib/widgets/Makefile.am:
* lib/widgets/eggtreemodelfilter.c:
* lib/widgets/eggtreemodelfilter.h:
* lib/widgets/eggtreemultidnd.c:
* lib/widgets/eggtreemultidnd.h:
* lib/egg/Makefile.am:
* lib/egg/eggtreemodelfilter.c:
* lib/egg/eggtreemodelfilter.h:
* lib/egg/eggtreemultidnd.c:
* lib/egg/eggtreemultidnd.h:
* lib/egg/update-from-egg.sh:
Move and autoupdate these from egg.
* lib/ephy-dnd.c:
* lib/ephy-dnd.h:
* src/ephy-favicon-action.c:
Remove an unnecessary param in ephydnd API.
* lib/widgets/ephy-tree-model-sort.c:
Use the real multidnd api.
2
Diffstat (limited to 'lib/widgets/eggtreemultidnd.h')
-rw-r--r-- | lib/widgets/eggtreemultidnd.h | 78 |
1 files changed, 0 insertions, 78 deletions
diff --git a/lib/widgets/eggtreemultidnd.h b/lib/widgets/eggtreemultidnd.h deleted file mode 100644 index 460e60239..000000000 --- a/lib/widgets/eggtreemultidnd.h +++ /dev/null @@ -1,78 +0,0 @@ -/* eggtreednd.h - * Copyright (C) 2001 Red Hat, Inc. - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library General Public - * License as published by the Free Software Foundation; either - * version 2 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library General Public - * License along with this library; if not, write to the - * Free Software Foundation, Inc., 59 Temple Place - Suite 330, - * Boston, MA 02111-1307, USA. - */ - -#ifndef __EGG_TREE_MULTI_DND_H__ -#define __EGG_TREE_MULTI_DND_H__ - -#include <gtk/gtktreemodel.h> -#include <gtk/gtktreeview.h> -#include <gtk/gtkdnd.h> - -G_BEGIN_DECLS - -#define EGG_TYPE_TREE_MULTI_DRAG_SOURCE (egg_tree_multi_drag_source_get_type ()) -#define EGG_TREE_MULTI_DRAG_SOURCE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), EGG_TYPE_TREE_MULTI_DRAG_SOURCE, EggTreeMultiDragSource)) -#define EGG_IS_TREE_MULTI_DRAG_SOURCE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), EGG_TYPE_TREE_MULTI_DRAG_SOURCE)) -#define EGG_TREE_MULTI_DRAG_SOURCE_GET_IFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), EGG_TYPE_TREE_MULTI_DRAG_SOURCE, EggTreeMultiDragSourceIface)) - -typedef struct _EggTreeMultiDragSource EggTreeMultiDragSource; /* Dummy typedef */ -typedef struct _EggTreeMultiDragSourceIface EggTreeMultiDragSourceIface; - -struct _EggTreeMultiDragSourceIface -{ - GTypeInterface g_iface; - - /* VTable - not signals */ - gboolean (* row_draggable) (EggTreeMultiDragSource *drag_source, - GList *path_list); - - gboolean (* drag_data_get) (EggTreeMultiDragSource *drag_source, - GList *path_list, - guint info, - GtkSelectionData *selection_data); - - gboolean (* drag_data_delete) (EggTreeMultiDragSource *drag_source, - GList *path_list); -}; - -GType egg_tree_multi_drag_source_get_type (void) G_GNUC_CONST; - -/* Returns whether the given row can be dragged */ -gboolean egg_tree_multi_drag_source_row_draggable (EggTreeMultiDragSource *drag_source, - GList *path_list); - -/* Deletes the given row, or returns FALSE if it can't */ -gboolean egg_tree_multi_drag_source_drag_data_delete (EggTreeMultiDragSource *drag_source, - GList *path_list); - - -/* Fills in selection_data with type selection_data->target based on the row - * denoted by path, returns TRUE if it does anything - */ -gboolean egg_tree_multi_drag_source_drag_data_get (EggTreeMultiDragSource *drag_source, - GList *path_list, - guint info, - GtkSelectionData *selection_data); -void egg_tree_multi_drag_add_drag_support (GtkTreeView *tree_view); - - - -G_END_DECLS - -#endif /* __EGG_TREE_MULTI_DND_H__ */ |