Yasumichi Akahoshi
yasum****@users*****
2005年 10月 9日 (日) 02:13:44 JST
Index: cxplorer/src/cxp-right-pane.c diff -u cxplorer/src/cxp-right-pane.c:1.85 cxplorer/src/cxp-right-pane.c:1.86 --- cxplorer/src/cxp-right-pane.c:1.85 Sun Oct 9 01:59:19 2005 +++ cxplorer/src/cxp-right-pane.c Sun Oct 9 02:13:44 2005 @@ -134,12 +134,12 @@ GtkTreePath * path, GtkTreeIter * iter, gpointer userdata); -void cxp_right_pane_clipboard_get (GtkClipboard *clipboard, GtkSelectionData *selection_data, guint info, gpointer user_data_or_owner); -void cxp_right_pane_clipboard_received (GtkClipboard *clipboard, GtkSelectionData *selection_data, gpointer data); -void cxp_right_pane_drag_data_get(GtkWidget *widget, GdkDragContext *dc, GtkSelectionData *selection_data, guint info, guint t, gpointer data); -void cxp_right_pane_drag_data_delete (GtkWidget *widget, GdkDragContext *dc, gpointer data); -void cxp_right_pane_drag_data_received (GtkWidget *widget, GdkDragContext *dc, gint x, gint y, GtkSelectionData *selection_data, guint info, guint t, gpointer data); -gboolean cxp_right_pane_drag_drop (GtkWidget *widget, GdkDragContext *dc, gint x, gint y, guint t, gpointer data); +static void cxp_right_pane_clipboard_get (GtkClipboard *clipboard, GtkSelectionData *selection_data, guint info, gpointer user_data_or_owner); +static void cxp_right_pane_clipboard_received (GtkClipboard *clipboard, GtkSelectionData *selection_data, gpointer data); +static void cxp_right_pane_drag_data_get(GtkWidget *widget, GdkDragContext *dc, GtkSelectionData *selection_data, guint info, guint t, gpointer data); +static void cxp_right_pane_drag_data_delete (GtkWidget *widget, GdkDragContext *dc, gpointer data); +static void cxp_right_pane_drag_data_received (GtkWidget *widget, GdkDragContext *dc, gint x, gint y, GtkSelectionData *selection_data, guint info, guint t, gpointer data); +static gboolean cxp_right_pane_drag_drop (GtkWidget *widget, GdkDragContext *dc, gint x, gint y, guint t, gpointer data); GType cxp_right_pane_get_type (void) { @@ -1422,12 +1422,12 @@ /* * Virtually sets the contents of the specified */ -void cxp_right_pane_clipboard_get (GtkClipboard *clipboard, GtkSelectionData *selection_data, guint info, gpointer data) +static void cxp_right_pane_clipboard_get (GtkClipboard *clipboard, GtkSelectionData *selection_data, guint info, gpointer data) { gtk_selection_data_set (selection_data, GDK_TARGET_STRING, 8, data, strlen(data)); } -void cxp_right_pane_clipboard_received (GtkClipboard *clipboard, GtkSelectionData *selection_data, gpointer data) +static void cxp_right_pane_clipboard_received (GtkClipboard *clipboard, GtkSelectionData *selection_data, gpointer data) { CxpRightPanePrivate *priv = CXP_RIGHT_PANE_GET_PRIVATE (data); GtkWidget *dialog; @@ -1482,7 +1482,7 @@ g_strfreev (copy_file); } -void cxp_right_pane_drag_data_get(GtkWidget *widget, GdkDragContext *dc, GtkSelectionData *selection_data, guint info, guint t, gpointer data) +static void cxp_right_pane_drag_data_get(GtkWidget *widget, GdkDragContext *dc, GtkSelectionData *selection_data, guint info, guint t, gpointer data) { CxpRightPanePrivate *priv = CXP_RIGHT_PANE_GET_PRIVATE (data); GList *list, *cur; @@ -1522,7 +1522,7 @@ g_string_free (move_files, TRUE); } -void cxp_right_pane_drag_data_delete (GtkWidget *widget, GdkDragContext *dc, gpointer data) +static void cxp_right_pane_drag_data_delete (GtkWidget *widget, GdkDragContext *dc, gpointer data) { CxpRightPanePrivate *priv = CXP_RIGHT_PANE_GET_PRIVATE (data); gchar *cur_dir; @@ -1535,7 +1535,7 @@ g_signal_stop_emission_by_name (priv->file_list, "drag_data_delete"); } -void cxp_right_pane_drag_data_received (GtkWidget *widget, GdkDragContext *dc, gint x, gint y, GtkSelectionData *selection_data, guint info, guint t, gpointer data) +static void cxp_right_pane_drag_data_received (GtkWidget *widget, GdkDragContext *dc, gint x, gint y, GtkSelectionData *selection_data, guint info, guint t, gpointer data) { CxpRightPanePrivate *priv = CXP_RIGHT_PANE_GET_PRIVATE (data); gchar *move_files; @@ -1584,7 +1584,7 @@ g_signal_stop_emission_by_name (priv->file_list, "drag_data_received"); } -gboolean cxp_right_pane_drag_drop (GtkWidget *widget, GdkDragContext *dc, gint x, gint y, guint t, gpointer data) +static gboolean cxp_right_pane_drag_drop (GtkWidget *widget, GdkDragContext *dc, gint x, gint y, guint t, gpointer data) { gtk_drag_get_data (widget, dc, GDK_TARGET_STRING, t);