Changew index to filter_index to fix compilation error.

2003-10-28  Padraig O'Briain  <padraig.obriain@sun.com>

	* gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_remove_filter):
	Changew index to filter_index to fix compilation error.

	* gtk/gtkfilesystem.h: Correct definition of gtk_file_path_get_string.
This commit is contained in:
Padraig O'Briain 2003-10-28 14:13:01 +00:00 committed by Padraig O'Briain
parent afad91fe8d
commit dbd3b079ff
7 changed files with 37 additions and 2 deletions

View File

@ -1,3 +1,10 @@
2003-10-28 Padraig O'Briain <padraig.obriain@sun.com>
* gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_remove_filter):
Changew index to filter_index to fix compilation error.
* gtk/gtkfilesystem.h: Correct definition of gtk_file_path_get_string.
Mon Oct 27 15:47:58 2003 Manish Singh <yosh@gimp.org>
* gdk/x11/gdkscreen-x11.c: #include <X11/extensions/Xrandr.h> if

View File

@ -1,3 +1,10 @@
2003-10-28 Padraig O'Briain <padraig.obriain@sun.com>
* gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_remove_filter):
Changew index to filter_index to fix compilation error.
* gtk/gtkfilesystem.h: Correct definition of gtk_file_path_get_string.
Mon Oct 27 15:47:58 2003 Manish Singh <yosh@gimp.org>
* gdk/x11/gdkscreen-x11.c: #include <X11/extensions/Xrandr.h> if

View File

@ -1,3 +1,10 @@
2003-10-28 Padraig O'Briain <padraig.obriain@sun.com>
* gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_remove_filter):
Changew index to filter_index to fix compilation error.
* gtk/gtkfilesystem.h: Correct definition of gtk_file_path_get_string.
Mon Oct 27 15:47:58 2003 Manish Singh <yosh@gimp.org>
* gdk/x11/gdkscreen-x11.c: #include <X11/extensions/Xrandr.h> if

View File

@ -1,3 +1,10 @@
2003-10-28 Padraig O'Briain <padraig.obriain@sun.com>
* gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_remove_filter):
Changew index to filter_index to fix compilation error.
* gtk/gtkfilesystem.h: Correct definition of gtk_file_path_get_string.
Mon Oct 27 15:47:58 2003 Manish Singh <yosh@gimp.org>
* gdk/x11/gdkscreen-x11.c: #include <X11/extensions/Xrandr.h> if

View File

@ -1,3 +1,10 @@
2003-10-28 Padraig O'Briain <padraig.obriain@sun.com>
* gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_remove_filter):
Changew index to filter_index to fix compilation error.
* gtk/gtkfilesystem.h: Correct definition of gtk_file_path_get_string.
Mon Oct 27 15:47:58 2003 Manish Singh <yosh@gimp.org>
* gdk/x11/gdkscreen-x11.c: #include <X11/extensions/Xrandr.h> if

View File

@ -1685,7 +1685,7 @@ gtk_file_chooser_default_remove_filter (GtkFileChooser *chooser,
filter_index = g_slist_index (impl->filters, filter);
if (index < 0)
if (filter_index < 0)
{
g_warning ("gtk_file_chooser_remove_filter() called on filter not in list\n");
return;

View File

@ -295,7 +295,7 @@ GtkFileInfo *gtk_file_folder_get_info (GtkFileFolder *folder,
#else /* __GNUC__ */
#define gtk_file_path_new_dup(str) ((GtkFilePath *)g_strdup(str))
#define gtk_file_path_new_steal(str) ((GtkFilePath *)(str))
#define gtk_file_path_get_string(path) ((const gchar *)(str))
#define gtk_file_path_get_string(str) ((const gchar *)(str))
#define gtk_file_path_free(path) g_free (path)
#endif/* __GNUC__ */