Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:13.1
parcellite
parcellite-1.1.6-rpmlint-errors.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File parcellite-1.1.6-rpmlint-errors.patch of Package parcellite
Index: parcellite-1.1.6/src/history.c =================================================================== --- parcellite-1.1.6.orig/src/history.c +++ parcellite-1.1.6/src/history.c @@ -503,6 +503,7 @@ int save_history_as_text(gchar *path) } g_printf("histpath='%s'\n",path); + return 0; } /***************************************************************************/ /** Dialog to save the history file. Index: parcellite-1.1.6/src/main.c =================================================================== --- parcellite-1.1.6.orig/src/main.c +++ parcellite-1.1.6/src/main.c @@ -63,6 +63,9 @@ g_signal_connect(clipboard, "owner-chang #endif #include "parcellite.h" +#include <stdlib.h> +#include <ctype.h> +#include <glib-2.0/glib.h> /**ACT are actions, and MODE is the mode of the action */ /** #define ACT_STOP 0 @@ -613,6 +616,7 @@ static void *execute_action(void *comman g_free((gchar*)command); /* Exit this thread */ pthread_exit(NULL); + return 0; } /* Called when execution action exits */ @@ -769,6 +773,7 @@ gboolean history_item_right_click_on_edi struct history_info *h=(struct history_info*)data; h->wi.tmp1|=EDIT_MODE_USE_RIGHT_CLICK; edit_selected((GtkMenuItem *)menuitem, data); + return 1; } /***************************************************************************/ @@ -1922,6 +1927,7 @@ static void show_parcellite_menu(GtkSta gboolean show_parcellite_menu_wrapper(gpointer data) { create_parcellite_menu(0, gtk_get_current_event_time()); + return 1; } /***************************************************************************/ Index: parcellite-1.1.6/src/preferences.c =================================================================== --- parcellite-1.1.6.orig/src/preferences.c +++ parcellite-1.1.6/src/preferences.c @@ -221,6 +221,7 @@ int init_pref( void ) dummy[0].tip="Dummy tip"; dummy[1].name=NULL; dummy[1].sec=PREF_SEC_NONE; + return 0; } /***************************************************************************/ /** set the wideget of item. @@ -233,6 +234,7 @@ int set_pref_widget (char *name, GtkWidg if(NULL == p) return -1; p->w=w; + return 0; } /***************************************************************************/ /** get the char * value of string. @@ -286,6 +288,7 @@ int set_pref_string (char *name, char *s if(p->cval != NULL) g_free(p->cval); p->cval=g_strdup(string); + return 0; } /***************************************************************************/ Index: parcellite-1.1.6/src/utils.c =================================================================== --- parcellite-1.1.6.orig/src/utils.c +++ parcellite-1.1.6/src/utils.c @@ -26,6 +26,7 @@ #include <fcntl.h> #include <errno.h> #include <libgen.h> +#include <stdlib.h> /**set this to debug looking up user environment vars to see other instances of parcellite */ /**#define DEBUG_MULTI */
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor