gtk+ r21040 - in trunk: . gtk
- From: tml svn gnome org
- To: svn-commits-list gnome org
- Subject: gtk+ r21040 - in trunk: . gtk
- Date: Fri, 8 Aug 2008 03:49:18 +0000 (UTC)
Author: tml
Date: Fri Aug 8 03:49:18 2008
New Revision: 21040
URL: http://svn.gnome.org/viewvc/gtk+?rev=21040&view=rev
Log:
2008-08-08 Tor Lillqvist <tml novell com>
* gtk/gtk.symbols
* gtk/makegtkalias.pl
* gtk/gtkaccelmap.c
* gtk/gtkfilechooser.c
* gtk/gtkfilesel.c
* gtk/gtkiconfactory.c
* gtk/gtkicontheme.c
* gtk/gtkimage.c
* gtk/gtkrc.c
* gtk/gtkuimanager.c
* gtk/gtkwindow.c: No need for the DLL ABI backward compatibility
functions on Win64.
Modified:
trunk/ChangeLog
trunk/gtk/gtk.symbols
trunk/gtk/gtkaccelmap.c
trunk/gtk/gtkfilechooser.c
trunk/gtk/gtkfilesel.c
trunk/gtk/gtkiconfactory.c
trunk/gtk/gtkicontheme.c
trunk/gtk/gtkimage.c
trunk/gtk/gtkrc.c
trunk/gtk/gtkuimanager.c
trunk/gtk/gtkwindow.c
trunk/gtk/makegtkalias.pl
Modified: trunk/gtk/gtk.symbols
==============================================================================
--- trunk/gtk/gtk.symbols (original)
+++ trunk/gtk/gtk.symbols Fri Aug 8 03:49:18 2008
@@ -113,7 +113,9 @@
gtk_accel_map_foreach_unfiltered
gtk_accel_map_get
gtk_accel_map_get_type G_GNUC_CONST
+#ifndef _WIN64
gtk_accel_map_load PRIVATE
+#endif
#ifdef G_OS_WIN32
gtk_accel_map_load_utf8
#endif
@@ -121,7 +123,9 @@
gtk_accel_map_load_scanner
gtk_accel_map_lock_path
gtk_accel_map_lookup_entry
+#ifndef _WIN64
gtk_accel_map_save PRIVATE
+#endif
#ifdef G_OS_WIN32
gtk_accel_map_save_utf8
#endif
@@ -1362,14 +1366,18 @@
#if IN_HEADER(__GTK_FILE_CHOOSER_H__)
#if IN_FILE(__GTK_FILE_CHOOSER_C__)
gtk_file_chooser_add_filter
+#ifndef _WIN64
gtk_file_chooser_add_shortcut_folder PRIVATE
+#endif
#ifdef G_OS_WIN32
gtk_file_chooser_add_shortcut_folder_utf8
#endif
gtk_file_chooser_add_shortcut_folder_uri
gtk_file_chooser_error_quark
gtk_file_chooser_get_action
+#ifndef _WIN64
gtk_file_chooser_get_current_folder PRIVATE
+#endif
gtk_file_chooser_get_current_folder_file
#ifdef G_OS_WIN32
gtk_file_chooser_get_current_folder_utf8
@@ -1377,11 +1385,15 @@
gtk_file_chooser_get_current_folder_uri
gtk_file_chooser_get_extra_widget
gtk_file_chooser_get_file
+#ifndef _WIN64
gtk_file_chooser_get_filename PRIVATE
+#endif
#ifdef G_OS_WIN32
gtk_file_chooser_get_filename_utf8
#endif
+#ifndef _WIN64
gtk_file_chooser_get_filenames PRIVATE
+#endif
#ifdef G_OS_WIN32
gtk_file_chooser_get_filenames_utf8
#endif
@@ -1389,7 +1401,9 @@
gtk_file_chooser_get_filter
gtk_file_chooser_get_local_only
gtk_file_chooser_get_preview_file
+#ifndef _WIN64
gtk_file_chooser_get_preview_filename PRIVATE
+#endif
#ifdef G_OS_WIN32
gtk_file_chooser_get_preview_filename_utf8
#endif
@@ -1405,26 +1419,34 @@
gtk_file_chooser_get_uris
gtk_file_chooser_get_use_preview_label
gtk_file_chooser_list_filters
+#ifndef _WIN64
gtk_file_chooser_list_shortcut_folders PRIVATE
+#endif
#ifdef G_OS_WIN32
gtk_file_chooser_list_shortcut_folders_utf8
#endif
gtk_file_chooser_list_shortcut_folder_uris
gtk_file_chooser_remove_filter
+#ifndef _WIN64
gtk_file_chooser_remove_shortcut_folder PRIVATE
+#endif
#ifdef G_OS_WIN32
gtk_file_chooser_remove_shortcut_folder_utf8
#endif
gtk_file_chooser_remove_shortcut_folder_uri
gtk_file_chooser_select_all
gtk_file_chooser_select_file
+#ifndef _WIN64
gtk_file_chooser_select_filename PRIVATE
+#endif
#ifdef G_OS_WIN32
gtk_file_chooser_select_filename_utf8
#endif
gtk_file_chooser_select_uri
gtk_file_chooser_set_action
+#ifndef _WIN64
gtk_file_chooser_set_current_folder PRIVATE
+#endif
gtk_file_chooser_set_current_folder_file
#ifdef G_OS_WIN32
gtk_file_chooser_set_current_folder_utf8
@@ -1433,7 +1455,9 @@
gtk_file_chooser_set_current_name
gtk_file_chooser_set_extra_widget
gtk_file_chooser_set_file
+#ifndef _WIN64
gtk_file_chooser_set_filename PRIVATE
+#endif
#ifdef G_OS_WIN32
gtk_file_chooser_set_filename_utf8
#endif
@@ -1447,7 +1471,9 @@
gtk_file_chooser_set_use_preview_label
gtk_file_chooser_unselect_all
gtk_file_chooser_unselect_file
+#ifndef _WIN64
gtk_file_chooser_unselect_filename PRIVATE
+#endif
#ifdef G_OS_WIN32
gtk_file_chooser_unselect_filename_utf8
#endif
@@ -1511,11 +1537,15 @@
#if IN_FILE(__GTK_FILESEL_C__)
#ifndef GTK_DISABLE_DEPRECATED
gtk_file_selection_complete
+#ifndef _WIN64
gtk_file_selection_get_filename PRIVATE
+#endif
#ifdef G_OS_WIN32
gtk_file_selection_get_filename_utf8
#endif
+#ifndef _WIN64
gtk_file_selection_get_selections PRIVATE
+#endif
#ifdef G_OS_WIN32
gtk_file_selection_get_selections_utf8
#endif
@@ -1523,7 +1553,9 @@
gtk_file_selection_get_type G_GNUC_CONST
gtk_file_selection_hide_fileop_buttons
gtk_file_selection_new
+#ifndef _WIN64
gtk_file_selection_set_filename PRIVATE
+#endif
#ifdef G_OS_WIN32
gtk_file_selection_set_filename_utf8
#endif
@@ -1739,7 +1771,9 @@
gtk_icon_source_free
gtk_icon_source_get_direction
gtk_icon_source_get_direction_wildcarded
+#ifndef _WIN64
gtk_icon_source_get_filename PRIVATE
+#endif
#ifdef G_OS_WIN32
gtk_icon_source_get_filename_utf8
#endif
@@ -1753,7 +1787,9 @@
gtk_icon_source_new
gtk_icon_source_set_direction
gtk_icon_source_set_direction_wildcarded
+#ifndef _WIN64
gtk_icon_source_set_filename PRIVATE
+#endif
#ifdef G_OS_WIN32
gtk_icon_source_set_filename_utf8
#endif
@@ -1776,7 +1812,9 @@
gtk_icon_info_get_builtin_pixbuf
gtk_icon_info_get_display_name
gtk_icon_info_get_embedded_rect
+#ifndef _WIN64
gtk_icon_info_get_filename PRIVATE
+#endif
#ifdef G_OS_WIN32
gtk_icon_info_get_filename_utf8
#endif
@@ -1784,7 +1822,9 @@
gtk_icon_info_load_icon
gtk_icon_info_set_raw_coordinates
gtk_icon_theme_add_builtin_icon
+#ifndef _WIN64
gtk_icon_theme_append_search_path PRIVATE
+#endif
#ifdef G_OS_WIN32
gtk_icon_theme_append_search_path_utf8
#endif
@@ -1793,7 +1833,9 @@
gtk_icon_theme_get_example_icon_name
gtk_icon_theme_get_for_screen
gtk_icon_theme_get_icon_sizes
+#ifndef _WIN64
gtk_icon_theme_get_search_path PRIVATE
+#endif
#ifdef G_OS_WIN32
gtk_icon_theme_get_search_path_utf8
#endif
@@ -1806,14 +1848,18 @@
gtk_icon_theme_lookup_by_gicon
gtk_icon_theme_choose_icon
gtk_icon_theme_new
+#ifndef _WIN64
gtk_icon_theme_prepend_search_path PRIVATE
+#endif
#ifdef G_OS_WIN32
gtk_icon_theme_prepend_search_path_utf8
#endif
gtk_icon_theme_rescan_if_needed
gtk_icon_theme_set_custom_theme
gtk_icon_theme_set_screen
+#ifndef _WIN64
gtk_icon_theme_set_search_path PRIVATE
+#endif
#ifdef G_OS_WIN32
gtk_icon_theme_set_search_path_utf8
#endif
@@ -1902,7 +1948,9 @@
gtk_image_get_type G_GNUC_CONST
gtk_image_new
gtk_image_new_from_animation
+#ifndef _WIN64
gtk_image_new_from_file PRIVATE
+#endif
#ifdef G_OS_WIN32
gtk_image_new_from_file_utf8
#endif
@@ -1914,7 +1962,9 @@
gtk_image_new_from_stock
gtk_image_new_from_gicon
gtk_image_set_from_animation
+#ifndef _WIN64
gtk_image_set_from_file PRIVATE
+#endif
#ifdef G_OS_WIN32
gtk_image_set_from_file_utf8
#endif
@@ -3093,7 +3143,9 @@
gtk_rc_add_widget_class_style
gtk_rc_add_widget_name_style
#endif
+#ifndef _WIN64
gtk_rc_add_default_file PRIVATE
+#endif
#ifdef G_OS_WIN32
gtk_rc_add_default_file_utf8
#endif
@@ -3106,7 +3158,9 @@
gtk_rc_get_style
gtk_rc_get_style_by_paths
gtk_rc_get_theme_dir
+#ifndef _WIN64
gtk_rc_parse PRIVATE
+#endif
#ifdef G_OS_WIN32
gtk_rc_parse_utf8
#endif
@@ -3119,7 +3173,9 @@
gtk_rc_reparse_all_for_settings
gtk_rc_reset_styles
gtk_rc_scanner_new
+#ifndef _WIN64
gtk_rc_set_default_files PRIVATE
+#endif
#ifdef G_OS_WIN32
gtk_rc_set_default_files_utf8
#endif
@@ -4587,7 +4643,9 @@
#if IN_HEADER(__GTK_UI_MANAGER_H__)
#if IN_FILE(__GTK_UI_MANAGER_C__)
gtk_ui_manager_add_ui
+#ifndef _WIN64
gtk_ui_manager_add_ui_from_file PRIVATE
+#endif
#ifdef G_OS_WIN32
gtk_ui_manager_add_ui_from_file_utf8
#endif
@@ -4913,7 +4971,9 @@
gtk_window_set_deletable
gtk_window_set_default
gtk_window_set_default_icon
+#ifndef _WIN64
gtk_window_set_default_icon_from_file PRIVATE
+#endif
#ifdef G_OS_WIN32
gtk_window_set_default_icon_from_file_utf8
#endif
@@ -4929,7 +4989,9 @@
gtk_window_set_gravity
gtk_window_set_has_frame
gtk_window_set_icon
+#ifndef _WIN64
gtk_window_set_icon_from_file PRIVATE
+#endif
#ifdef G_OS_WIN32
gtk_window_set_icon_from_file_utf8
#endif
Modified: trunk/gtk/gtkaccelmap.c
==============================================================================
--- trunk/gtk/gtkaccelmap.c (original)
+++ trunk/gtk/gtkaccelmap.c Fri Aug 8 03:49:18 2008
@@ -1005,7 +1005,7 @@
entry->accel_mods);
}
-#ifdef G_OS_WIN32
+#if defined (G_OS_WIN32) && !defined (_WIN64)
#undef gtk_accel_map_load
Modified: trunk/gtk/gtkfilechooser.c
==============================================================================
--- trunk/gtk/gtkfilechooser.c (original)
+++ trunk/gtk/gtkfilechooser.c Fri Aug 8 03:49:18 2008
@@ -1959,7 +1959,7 @@
return do_overwrite_confirmation;
}
-#ifdef G_OS_WIN32
+#if defined (G_OS_WIN32) && !defined (_WIN64)
/* DLL ABI stability backward compatibility versions */
Modified: trunk/gtk/gtkfilesel.c
==============================================================================
--- trunk/gtk/gtkfilesel.c (original)
+++ trunk/gtk/gtkfilesel.c Fri Aug 8 03:49:18 2008
@@ -3929,7 +3929,7 @@
return g_strerror (err);
}
-#ifdef G_OS_WIN32
+#if defined (G_OS_WIN32) && !defined (_WIN64)
/* DLL ABI stability backward compatibility versions */
@@ -3983,7 +3983,7 @@
return selections;
}
-#endif /* G_OS_WIN32 */
+#endif /* G_OS_WIN32 && !_WIN64 */
#define __GTK_FILESEL_C__
#include "gtkaliasdef.c"
Modified: trunk/gtk/gtkiconfactory.c
==============================================================================
--- trunk/gtk/gtkiconfactory.c (original)
+++ trunk/gtk/gtkiconfactory.c Fri Aug 8 03:49:18 2008
@@ -75,7 +75,7 @@
guint any_state : 1;
guint any_size : 1;
-#ifdef G_OS_WIN32
+#if defined (G_OS_WIN32) && !defined (_WIN64)
/* System codepage version of filename, for DLL ABI backward
* compatibility functions.
*/
@@ -1925,7 +1925,7 @@
break;
case GTK_ICON_SOURCE_FILENAME:
copy->source.filename = g_strdup (copy->source.filename);
-#ifdef G_OS_WIN32
+#if defined (G_OS_WIN32) && !defined (_WIN64)
copy->cp_filename = g_strdup (copy->cp_filename);
#endif
if (copy->filename_pixbuf)
@@ -1986,7 +1986,7 @@
case GTK_ICON_SOURCE_FILENAME:
g_free (source->source.filename);
source->source.filename = NULL;
-#ifdef G_OS_WIN32
+#if defined (G_OS_WIN32) && !defined (_WIN64)
g_free (source->cp_filename);
source->cp_filename = NULL;
#endif
@@ -2030,7 +2030,7 @@
{
source->type = GTK_ICON_SOURCE_FILENAME;
source->source.filename = g_strdup (filename);
-#ifdef G_OS_WIN32
+#if defined (G_OS_WIN32) && !defined (_WIN64)
source->cp_filename = g_locale_from_utf8 (filename, -1, NULL, NULL, NULL);
#endif
}
@@ -2980,7 +2980,7 @@
}
}
-#ifdef G_OS_WIN32
+#if defined (G_OS_WIN32) && !defined (_WIN64)
/* DLL ABI stability backward compatibility versions */
Modified: trunk/gtk/gtkicontheme.c
==============================================================================
--- trunk/gtk/gtkicontheme.c (original)
+++ trunk/gtk/gtkicontheme.c Fri Aug 8 03:49:18 2008
@@ -110,7 +110,7 @@
/* Information about the source
*/
gchar *filename;
-#ifdef G_OS_WIN32
+#if defined (G_OS_WIN32) && !defined (_WIN64)
/* System codepage version of filename, for DLL ABI backward
* compatibility functions.
*/
@@ -1322,7 +1322,7 @@
icon_info->filename = g_strdup (unthemed_icon->svg_filename);
else if (unthemed_icon->no_svg_filename)
icon_info->filename = g_strdup (unthemed_icon->no_svg_filename);
-#ifdef G_OS_WIN32
+#if defined (G_OS_WIN32) && !defined (_WIN64)
icon_info->cp_filename = g_locale_from_utf8 (icon_info->filename,
-1, NULL, NULL, NULL);
#endif
@@ -2208,7 +2208,7 @@
file = g_strconcat (icon_name, string_from_suffix (suffix), NULL);
icon_info->filename = g_build_filename (min_dir->dir, file, NULL);
g_free (file);
-#ifdef G_OS_WIN32
+#if defined (G_OS_WIN32) && !defined (_WIN64)
icon_info->cp_filename = g_locale_from_utf8 (icon_info->filename,
-1, NULL, NULL, NULL);
#endif
@@ -2216,7 +2216,7 @@
else
{
icon_info->filename = NULL;
-#ifdef G_OS_WIN32
+#if defined (G_OS_WIN32) && !defined (_WIN64)
icon_info->cp_filename = NULL;
#endif
}
@@ -2674,7 +2674,7 @@
return;
g_free (icon_info->filename);
-#ifdef G_OS_WIN32
+#if defined (G_OS_WIN32) && !defined (_WIN64)
g_free (icon_info->cp_filename);
#endif
if (icon_info->loadable)
@@ -3515,7 +3515,7 @@
return info;
}
-#ifdef G_OS_WIN32
+#if defined (G_OS_WIN32) && !defined (_WIN64)
/* DLL ABI stability backward compatibility versions */
Modified: trunk/gtk/gtkimage.c
==============================================================================
--- trunk/gtk/gtkimage.c (original)
+++ trunk/gtk/gtkimage.c Fri Aug 8 03:49:18 2008
@@ -2335,7 +2335,7 @@
return priv->pixel_size;
}
-#ifdef G_OS_WIN32
+#if defined (G_OS_WIN32) && !defined (_WIN64)
#undef gtk_image_new_from_file
Modified: trunk/gtk/gtkrc.c
==============================================================================
--- trunk/gtk/gtkrc.c (original)
+++ trunk/gtk/gtkrc.c Fri Aug 8 03:49:18 2008
@@ -4859,7 +4859,7 @@
return match_widget_class_recursive (list, length, path, path_reversed);
}
-#ifdef G_OS_WIN32
+#if defined (G_OS_WIN32) && !defined (_WIN64)
/* DLL ABI stability backward compatibility versions */
Modified: trunk/gtk/gtkuimanager.c
==============================================================================
--- trunk/gtk/gtkuimanager.c (original)
+++ trunk/gtk/gtkuimanager.c Fri Aug 8 03:49:18 2008
@@ -2986,7 +2986,7 @@
return g_string_free (buffer, FALSE);
}
-#ifdef G_OS_WIN32
+#if defined (G_OS_WIN32) && !defined (_WIN64)
#undef gtk_ui_manager_add_ui_from_file
Modified: trunk/gtk/gtkwindow.c
==============================================================================
--- trunk/gtk/gtkwindow.c (original)
+++ trunk/gtk/gtkwindow.c Fri Aug 8 03:49:18 2008
@@ -8186,7 +8186,7 @@
disable_startup_notification = !setting;
}
-#ifdef G_OS_WIN32
+#if defined (G_OS_WIN32) && !defined (_WIN64)
#undef gtk_window_set_icon_from_file
Modified: trunk/gtk/makegtkalias.pl
==============================================================================
--- trunk/gtk/makegtkalias.pl (original)
+++ trunk/gtk/makegtkalias.pl Fri Aug 8 03:49:18 2008
@@ -90,6 +90,13 @@
next;
}
+ if ($_ =~ /^\#ifndef\s+_WIN64/)
+ {
+ print $_;
+
+ next;
+ }
+
if ($_ =~ /^\#if.*(IN_FILE|IN_HEADER)/)
{
print $_;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]