summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2009-11-28 11:01:01 +0000
committerSND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2009-11-28 11:01:01 +0000
commitf5a6f9ccbf6216bb76569497ea8c7ba17f47ec78 (patch)
treecc8cb089685548180c4339a604e4e4d0cc99d552
parent78d783281d5381facf626b4adad4509bd276b843 (diff)
downloadpcsxr-f5a6f9ccbf6216bb76569497ea8c7ba17f47ec78.tar.gz
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@38377 e17a0e51-4ae3-4d35-97c3-1a29b211df97
-rw-r--r--gui/MemcardDlg.c27
1 files changed, 0 insertions, 27 deletions
diff --git a/gui/MemcardDlg.c b/gui/MemcardDlg.c
index 255838d0..c0315835 100644
--- a/gui/MemcardDlg.c
+++ b/gui/MemcardDlg.c
@@ -116,32 +116,6 @@ static GdkPixbuf *SetIcon(GtkWidget *dialog, short *icon, int i) {
0, 0, 0, 0, -1, -1);
}
-static int GetSelection(int memcard) {
- GtkTreeIter iter;
- GtkTreeModel *model;
- GtkTreePath *path;
- GtkTreeSelection *selection;
- int r;
-
- gboolean selected;
-
- if (memcard == 1)
- selection = gtk_tree_view_get_selection(GTK_TREE_VIEW(GtkCList_McdList1));
- else
- selection = gtk_tree_view_get_selection(GTK_TREE_VIEW(GtkCList_McdList2));
-
- selected = gtk_tree_selection_get_selected(selection, &model, &iter);
-
- if (selected) {
- path = gtk_tree_model_get_path(model, &iter);
- r = *gtk_tree_path_get_indices(path);
- gtk_tree_path_free(path);
- return r;
- }
-
- return -1;
-}
-
static void LoadListItems(int mcd, GtkWidget *widget) {
int i;
GladeXML *xml;
@@ -624,7 +598,6 @@ void OnConf_Mcds() {
GtkWidget *widget;
GtkTreeSelection *treesel1, *treesel2;
gchar *str;
- int i;
xml = glade_xml_new(PACKAGE_DATA_DIR "pcsx.glade2", "McdsDlg", NULL);