]> git.pld-linux.org Git - packages/gcolor2.git/blame - gcolor2-missing-includes.patch
- updated gettext BR
[packages/gcolor2.git] / gcolor2-missing-includes.patch
CommitLineData
04c60d36
JR
1Nur in gcolor2-0.4/po: potfiles.
2diff -dur gcolor2-0.4.orig/src/callbacks.c gcolor2-0.4/src/callbacks.c
3--- gcolor2-0.4.orig/src/callbacks.c 2005-07-12 20:06:12.000000000 +0200
4+++ gcolor2-0.4/src/callbacks.c 2009-10-03 13:56:41.000000000 +0200
5@@ -9,6 +9,8 @@
6 #include "interface.h"
7 #include "support.h"
8
9+#include <string.h>
10+#include <glib/gprintf.h>
11
12 GtkWidget *savedialog;
13 gchar *colorname;
14diff -dur gcolor2-0.4.orig/src/main.c gcolor2-0.4/src/main.c
15--- gcolor2-0.4.orig/src/main.c 2005-07-11 16:55:49.000000000 +0200
16+++ gcolor2-0.4/src/main.c 2009-10-03 13:59:32.000000000 +0200
17@@ -8,6 +8,9 @@
18 #include "interface.h"
19 #include "support.h"
20 #include "callbacks.h"
21+#include <stdlib.h>
22+#include <string.h>
23+#include <glib/gprintf.h>
24
25 GtkListStore *liststore;
26 GdkWindow *gdkwin;
27@@ -48,8 +51,6 @@
28
29 void add_list_color (gchar *spec, gchar *name, gchar *type, gboolean is_new_color)
30 {
31- GdkPixmap *pixmap;
32- GdkBitmap *mask;
33 GdkPixbuf *buf;
34 GtkTreeIter iter;
35
36@@ -103,7 +104,7 @@
37 gchar *name;
38 gchar buffer[512];
39 gchar spec[8];
40- gint r, g, b, lr, lg, lb;
41+ gint r, g, b, lr=0, lg=0, lb=0;
42
43 fp = fopen (filename, "r");
44 if (!fp)
45@@ -140,7 +141,6 @@
46 GtkTreeViewColumn *column;
47 GtkWidget *treeview;
48 GtkTreeSelection *select;
49- gchar *buf;
50
51 #ifdef ENABLE_NLS
52 bindtextdomain (GETTEXT_PACKAGE, PACKAGE_LOCALE_DIR);
This page took 0.154578 seconds and 4 git commands to generate.