OpenSDE Packages Database (without history before r20070)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

50 lines
1.9 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../rep-gtk/gtk-2.4.patch
  5. # Copyright (C) 2004 - 2006 The T2 SDE Project
  6. #
  7. # More information can be found in the files COPYING and README.
  8. #
  9. # This patch file is dual-licensed. It is available under the license the
  10. # patched project is licensed under, as long as it is an OpenSource license
  11. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  12. # of the GNU General Public License as published by the Free Software
  13. # Foundation; either version 2 of the License, or (at your option) any later
  14. # version.
  15. # --- SDE-COPYRIGHT-NOTE-END ---
  16. --- ./rep-gtk.h.orig 2005-03-28 23:48:38.000000000 -0400
  17. +++ ./rep-gtk.h 2005-03-28 23:49:35.000000000 -0400
  18. @@ -291,10 +291,10 @@
  19. GtkWidget*
  20. gtk_radio_menu_item_new_with_label_from_widget (GtkRadioMenuItem *group,
  21. - gchar *label);
  22. + const gchar *label);
  23. GtkWidget*
  24. gtk_radio_menu_item_new_with_mnemonic_from_widget (GtkRadioMenuItem *group,
  25. - gchar *label);
  26. + const gchar *label);
  27. GtkWidget* gtk_radio_menu_item_new_from_widget (GtkRadioMenuItem *group);
  28. GtkWidget* gtk_pixmap_new_interp (char *file, GtkWidget *intended_parent);
  29. --- ./gtk-compat.c.orig 2005-03-28 23:49:54.000000000 -0400
  30. +++ ./gtk-compat.c 2005-03-28 23:50:39.363196776 -0400
  31. @@ -64,7 +64,7 @@
  32. GtkWidget*
  33. gtk_radio_menu_item_new_with_label_from_widget (GtkRadioMenuItem *group,
  34. - gchar *label)
  35. + const gchar *label)
  36. {
  37. GSList *g = group? gtk_radio_menu_item_group (group) : NULL;
  38. return gtk_radio_menu_item_new_with_label (g, label);
  39. @@ -72,7 +72,7 @@
  40. GtkWidget*
  41. gtk_radio_menu_item_new_with_mnemonic_from_widget (GtkRadioMenuItem *group,
  42. - gchar *label)
  43. + const gchar *label)
  44. {
  45. GSList *g = group? gtk_radio_menu_item_group (group) : NULL;
  46. return gtk_radio_menu_item_new_with_mnemonic (g, label);