Group :: Gráficos
RPM: xmorph
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Patch: xmorph-gcc_warnings.patch
Download
Download
--- gtkmorph/callbacks_warped.c
+++ gtkmorph/callbacks_warped.c
@@ -51,7 +51,7 @@
//extern movie_pixmaps_num ;
//if(movie_pixmaps_num == 0) return FALSE ;
- g_return_if_fail(pixmap);
+ g_return_val_if_fail(pixmap,FALSE);
//g_return_if_fail(movie_pixmaps[0]);
//g_(pixmap);
--- gtkmorph/gtksettings.c
+++ gtkmorph/gtksettings.c
@@ -173,10 +173,10 @@
if (p) {
GList* L= gtk_container_get_children(p);
int len=g_slist_length (L);
- g_return_if_fail(value>=0 && value< len );
+ g_return_val_if_fail(value>=0 && value< len, FALSE);
GSList* nth=g_slist_nth(L,value);
GtkWidget* radio_menu_item= nth->data;
- g_return_if_fail(radio_menu_item);
+ g_return_val_if_fail(radio_menu_item, FALSE);
gtk_check_menu_item_set_active
(GTK_CHECK_MENU_ITEM (radio_menu_item),TRUE);
} else
--- gtkmorph/guide_text.c
+++ gtkmorph/guide_text.c
@@ -1,4 +1,5 @@
#include <gtk/gtk.h>
+#include <string.h>
#include "guide.h"
#include "guide_text.h"