mirror of the now-defunct rocklinux.org
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.

114 lines
3.2 KiB

  1. The usual gcc-3.4 compile fixes - including deleteing goto's ,-)
  2. - Rene Rebe <rene@rocklinux.org>
  3. --- gnome-pilot-2.0.10/capplet/gnome-pilot-pdialog.c.orig 2004-05-13 20:42:05.535368544 +0200
  4. +++ gnome-pilot-2.0.10/capplet/gnome-pilot-pdialog.c 2004-05-13 20:42:31.767380672 +0200
  5. @@ -135,15 +135,13 @@
  6. priv->xml = glade_xml_new (GLADEDATADIR "/gpilotd-capplet.glade", "PilotSettings", NULL);
  7. if (!priv->xml) {
  8. g_message ("gnome-pilot-pdialog init(): Could not load the Glade XML file!");
  9. - goto error;
  10. + return;
  11. }
  12. if (!get_widgets (gppd)) {
  13. g_message ("gnome-pilot-pdialog init(): Could not find all widgets in the XML file!");
  14. - goto error;
  15. + return;
  16. }
  17. -
  18. - error:
  19. }
  20. --- gnome-pilot-2.0.10/capplet/gnome-pilot-capplet.c.orig 2004-05-13 20:40:51.301653784 +0200
  21. +++ gnome-pilot-2.0.10/capplet/gnome-pilot-capplet.c 2004-05-13 20:41:29.590832944 +0200
  22. @@ -171,18 +171,16 @@
  23. priv->xml = glade_xml_new (GLADEDATADIR "/gpilotd-capplet.glade", "CappletMain", NULL);
  24. if (!priv->xml) {
  25. g_message ("gnome-pilot-capplet init(): Could not load the Glade XML file!");
  26. - goto error;
  27. + return;
  28. }
  29. if (!get_widgets (gpcap)) {
  30. g_message ("gnome-pilot-capplet init(): Could not find all widgets in the XML file!");
  31. - goto error;
  32. + return;
  33. }
  34. fill_widgets (gpcap);
  35. init_widgets (gpcap);
  36. -
  37. - error:
  38. }
  39. GnomePilotCapplet *
  40. --- gnome-pilot-2.0.10/capplet/gnome-pilot-ddialog.c.orig 2004-05-13 20:43:06.454107488 +0200
  41. +++ gnome-pilot-2.0.10/capplet/gnome-pilot-ddialog.c 2004-05-13 20:43:43.189522856 +0200
  42. @@ -114,15 +114,13 @@
  43. priv->xml = glade_xml_new (GLADEDATADIR "/gpilotd-capplet.glade", "DeviceSettings", NULL);
  44. if (!priv->xml) {
  45. g_message ("gnome-pilot-ddialog init(): Could not load the Glade XML file!");
  46. - goto error;
  47. + return;
  48. }
  49. if (!get_widgets (gpdd)) {
  50. g_message ("gnome-pilot-ddialog init(): Could not find all widgets in the XML file!");
  51. - goto error;
  52. + return;
  53. }
  54. -
  55. - error:
  56. }
  57. --- gnome-pilot-2.0.10/capplet/gnome-pilot-druid.c.orig 2004-05-13 20:47:56.979940848 +0200
  58. +++ gnome-pilot-2.0.10/capplet/gnome-pilot-druid.c 2004-05-13 20:48:22.909998880 +0200
  59. @@ -168,19 +168,17 @@
  60. priv->xml = glade_xml_new (GLADEDATADIR "/gpilotd-capplet.glade", NULL, NULL);
  61. if (!priv->xml) {
  62. g_message ("gnome-pilot-druid init(): Could not load the Glade XML file!");
  63. - goto error;
  64. + return;
  65. }
  66. if (!get_widgets (gpd)) {
  67. g_message ("gnome-pilot-druid init(): Could not find all widgets in the XML file!");
  68. - goto error;
  69. + return;
  70. }
  71. map_widgets (gpd);
  72. fill_widgets (gpd);
  73. init_widgets (gpd);
  74. -
  75. - error:
  76. }
  77. --- ./capplet/gnome-pilot-cdialog.c.orig 2004-05-13 21:18:57.751060640 +0200
  78. +++ ./capplet/gnome-pilot-cdialog.c 2004-05-13 21:19:22.850244984 +0200
  79. @@ -112,17 +112,15 @@
  80. priv->xml = glade_xml_new (GLADEDATADIR "/gpilotd-capplet.glade", "ConduitSettings", NULL);
  81. if (!priv->xml) {
  82. g_message ("gnome-pilot-cdialog init(): Could not load the Glade XML file!");
  83. - goto error;
  84. + return;
  85. }
  86. if (!get_widgets (gpcd)) {
  87. g_message ("gnome-pilot-cdialog init(): Could not find all widgets in the XML file!");
  88. - goto error;
  89. + return;
  90. }
  91. gnome_dialog_close_hides (GNOME_DIALOG (priv->dialog), TRUE);
  92. -
  93. - error:
  94. }