Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 47151 Details for
Bug 76068
there is no ebuild for the new stable gtk+ 2.6.0
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patches from fedora
gtk+-2.6.0-fixes.patch (text/plain), 7.73 KB, created by
Gergan Penkov
on 2004-12-29 12:46:09 UTC
(
hide
)
Description:
patches from fedora
Filename:
MIME Type:
Creator:
Gergan Penkov
Created:
2004-12-29 12:46:09 UTC
Size:
7.73 KB
patch
obsolete
>Index: gtk/gtkaboutdialog.c >=================================================================== >RCS file: /cvs/gnome/gtk+/gtk/gtkaboutdialog.c,v >retrieving revision 1.21 >retrieving revision 1.22 >diff -u -r1.21 -r1.22 >--- gtk/gtkaboutdialog.c 19 Nov 2004 23:18:37 -0000 1.21 >+++ gtk/gtkaboutdialog.c 19 Dec 2004 04:10:00 -0000 1.22 >@@ -424,6 +424,7 @@ > priv->website = NULL; > priv->website_label = NULL; > priv->translator_credits = NULL; >+ priv->license = NULL; > priv->authors = NULL; > priv->documenters = NULL; > priv->artists = NULL; >@@ -1439,7 +1440,7 @@ > * Returns the icon name displayed as logo in the about dialog. > * > * Return value: the icon name displayed as logo. The string is >- * owned by the about dialog. If you want to keep a reference >+ * owned by the dialog. If you want to keep a reference > * to it, you have to call g_strdup() on it. > * > * Since: 2.6 >@@ -1448,7 +1449,7 @@ > gtk_about_dialog_get_logo_icon_name (GtkAboutDialog *about) > { > GtkAboutDialogPrivate *priv; >- const gchar *icon_name; >+ const gchar *icon_name = NULL; > > g_return_val_if_fail (GTK_IS_ABOUT_DIALOG (about), NULL); > >Index: gtk/gtkactiongroup.c >=================================================================== >RCS file: /cvs/gnome/gtk+/gtk/gtkactiongroup.c,v >retrieving revision 1.40 >retrieving revision 1.41 >diff -u -r1.40 -r1.41 >--- gtk/gtkactiongroup.c 19 Nov 2004 23:18:37 -0000 1.40 >+++ gtk/gtkactiongroup.c 20 Dec 2004 16:05:25 -0000 1.41 >@@ -1076,6 +1076,9 @@ > > g_return_val_if_fail (GTK_IS_ACTION_GROUP (action_group), string); > >+ if (string == NULL) >+ return NULL; >+ > translate_func = action_group->private_data->translate_func; > translate_data = action_group->private_data->translate_data; > >Index: gtk/gtkfilechooserdefault.c >=================================================================== >RCS file: /cvs/gnome/gtk+/gtk/gtkfilechooserdefault.c,v >retrieving revision 1.232 >retrieving revision 1.233 >diff -u -r1.232 -r1.233 >--- gtk/gtkfilechooserdefault.c 15 Dec 2004 14:30:53 -0000 1.232 >+++ gtk/gtkfilechooserdefault.c 19 Dec 2004 04:45:09 -0000 1.233 >@@ -1617,6 +1617,8 @@ > static gboolean > edited_idle_cb (GtkFileChooserDefault *impl) > { >+ GDK_THREADS_ENTER (); >+ > g_source_destroy (impl->edited_idle); > impl->edited_idle = NULL; > >@@ -1652,6 +1654,8 @@ > impl->edited_new_text = NULL; > } > >+ GDK_THREADS_LEAVE (); >+ > return FALSE; > } > >@@ -1977,7 +1981,7 @@ > gtk_tree_model_sort_convert_iter_to_child_iter (closure->impl->sort_model, &child_iter, iter); > > info = _gtk_file_system_model_get_info (closure->impl->browse_files_model, &child_iter); >- is_folder = gtk_file_info_get_is_folder (info); >+ is_folder = info ? gtk_file_info_get_is_folder (info) : FALSE; > > closure->all_folders = closure->all_folders && is_folder; > closure->all_files = closure->all_files && !is_folder; >@@ -2367,10 +2371,15 @@ > static gboolean > shortcuts_drag_outside_idle_cb (GtkFileChooserDefault *impl) > { >+ GDK_THREADS_ENTER (); >+ > shortcuts_drag_set_delete_cursor (impl, TRUE); > impl->shortcuts_drag_outside = TRUE; > > shortcuts_cancel_drag_outside_idle (impl); >+ >+ GDK_THREADS_LEAVE (); >+ > return FALSE; > } > #endif >@@ -4232,6 +4241,8 @@ > { > GtkFileChooserDefault *impl; > >+ GDK_THREADS_ENTER (); >+ > impl = GTK_FILE_CHOOSER_DEFAULT (data); > g_assert (impl->load_state == LOAD_LOADING); > g_assert (impl->load_timeout_id != 0); >@@ -4242,6 +4253,8 @@ > > load_set_model (impl); > >+ GDK_THREADS_LEAVE (); >+ > return FALSE; > } > >@@ -5584,7 +5597,7 @@ > > info = _gtk_file_system_model_get_info (impl->browse_files_model, &child_iter); > >- if (!gtk_file_info_get_is_folder (info)) >+ if (info && !gtk_file_info_get_is_folder (info)) > return FALSE; > } > >Index: gtk/gtkfilechooserentry.c >=================================================================== >RCS file: /cvs/gnome/gtk+/gtk/gtkfilechooserentry.c,v >retrieving revision 1.26 >retrieving revision 1.27 >diff -u -r1.26 -r1.27 >--- gtk/gtkfilechooserentry.c 26 Oct 2004 15:53:32 -0000 1.26 >+++ gtk/gtkfilechooserentry.c 19 Dec 2004 04:45:09 -0000 1.27 >@@ -391,15 +391,17 @@ > GtkFilePath *unique_path = NULL; > gboolean valid; > >+ GDK_THREADS_ENTER (); >+ > g_assert (chooser_entry->file_part); > > chooser_entry->check_completion_idle = NULL; > > if (strcmp (chooser_entry->file_part, "") == 0) >- return FALSE; >+ goto done; > > if (chooser_entry->completion_store == NULL) >- return FALSE; >+ goto done; > > valid = gtk_tree_model_get_iter_first (GTK_TREE_MODEL (chooser_entry->completion_store), > &iter); >@@ -497,6 +499,10 @@ > g_free (common_prefix); > } > >+ done: >+ >+ GDK_THREADS_LEAVE (); >+ > return FALSE; > } > >@@ -578,17 +584,19 @@ > { > GSList *child_paths = NULL; > >+ GDK_THREADS_ENTER (); >+ > chooser_entry->load_directory_idle = NULL; > > /* guard against bogus settings*/ > if (chooser_entry->current_folder_path == NULL || > chooser_entry->file_system == NULL) >- return FALSE; >+ goto done; > > if (chooser_entry->current_folder != NULL) > { > g_warning ("idle activate multiple times without clearing the folder object first."); >- return FALSE; >+ goto done; > } > g_assert (chooser_entry->completion_store == NULL); > >@@ -600,7 +608,7 @@ > > /* There is no folder by that name */ > if (!chooser_entry->current_folder) >- return FALSE; >+ goto done; > g_signal_connect (chooser_entry->current_folder, "files-added", > G_CALLBACK (files_added_cb), chooser_entry); > g_signal_connect (chooser_entry->current_folder, "files-removed", >@@ -625,6 +633,11 @@ > > gtk_entry_completion_set_model (gtk_entry_get_completion (GTK_ENTRY (chooser_entry)), > GTK_TREE_MODEL (chooser_entry->completion_store)); >+ >+ done: >+ >+ GDK_THREADS_LEAVE (); >+ > return FALSE; > } > >Index: gtk/gtkliststore.c >=================================================================== >RCS file: /cvs/gnome/gtk+/gtk/gtkliststore.c,v >retrieving revision 1.106 >retrieving revision 1.107 >diff -u -r1.106 -r1.107 >--- gtk/gtkliststore.c 9 Dec 2004 06:21:39 -0000 1.106 >+++ gtk/gtkliststore.c 20 Dec 2004 17:15:11 -0000 1.107 >@@ -1716,10 +1716,11 @@ > gint column) > > { >- GtkTreePath *tmp_path; >+ GtkTreePath *path; > >- tmp_path = gtk_tree_model_get_path (GTK_TREE_MODEL (list_store), iter); >- gtk_tree_model_row_changed (GTK_TREE_MODEL (list_store), tmp_path, iter); >+ path = gtk_tree_model_get_path (GTK_TREE_MODEL (list_store), iter); >+ gtk_tree_model_row_changed (GTK_TREE_MODEL (list_store), path, iter); >+ gtk_tree_path_free (path); > > if (!iter_is_sorted (list_store, iter)) > { >@@ -1731,12 +1732,12 @@ > gtk_list_store_compare_func, > list_store); > order = generate_order (list_store->seq, old_positions); >+ path = gtk_tree_path_new (); > gtk_tree_model_rows_reordered (GTK_TREE_MODEL (list_store), >- tmp_path, NULL, order); >+ path, NULL, order); >+ gtk_tree_path_free (path); > g_free (order); > } >- >- gtk_tree_path_free (tmp_path); > } > > static gboolean >Index: gtk/gtkmessagedialog.c >=================================================================== >RCS file: /cvs/gnome/gtk+/gtk/gtkmessagedialog.c,v >retrieving revision 1.29 >retrieving revision 1.30 >diff -u -r1.29 -r1.30 >--- gtk/gtkmessagedialog.c 2 Dec 2004 14:16:16 -0000 1.29 >+++ gtk/gtkmessagedialog.c 20 Dec 2004 15:50:45 -0000 1.30 >@@ -174,7 +174,8 @@ > priv->has_primary_markup = FALSE; > priv->has_secondary_text = FALSE; > priv->secondary_label = gtk_label_new (NULL); >- >+ gtk_widget_set_no_show_all (priv->secondary_label, TRUE); >+ > dialog->label = gtk_label_new (NULL); > dialog->image = gtk_image_new_from_stock (NULL, GTK_ICON_SIZE_DIALOG); > gtk_misc_set_alignment (GTK_MISC (dialog->image), 0.5, 0.0);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 76068
:
47149
| 47151 |
47152