Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 105565
Collapse All | Expand All

(-)gqview-2.1.1.orig/src/collect-table.c (-3 / +3 lines)
Lines 2058-2064 Link Here
2058
		}
2058
		}
2059
2059
2060
	gtk_selection_data_set(selection_data, selection_data->target,
2060
	gtk_selection_data_set(selection_data, selection_data->target,
2061
			       8, uri_text, total);
2061
			       8, (guchar *)uri_text, total);
2062
	g_free(uri_text);
2062
	g_free(uri_text);
2063
}
2063
}
2064
2064
Lines 2075-2081 Link Here
2075
	CollectInfo *drop_info;
2075
	CollectInfo *drop_info;
2076
	GList *work;
2076
	GList *work;
2077
2077
2078
	if (debug) printf(selection_data->data);
2078
	if (debug) printf((gchar *)selection_data->data);
2079
2079
2080
	collection_table_scroll(ct, FALSE);
2080
	collection_table_scroll(ct, FALSE);
2081
	collection_table_insert_marker(ct, NULL, FALSE);
2081
	collection_table_insert_marker(ct, NULL, FALSE);
Lines 2118-2124 Link Here
2118
				}
2118
				}
2119
			break;
2119
			break;
2120
		case TARGET_URI_LIST:
2120
		case TARGET_URI_LIST:
2121
			list = uri_list_from_text(selection_data->data, TRUE);
2121
			list = uri_list_from_text((gchar *)selection_data->data, TRUE);
2122
			work = list;
2122
			work = list;
2123
			while (work)
2123
			while (work)
2124
				{
2124
				{
(-)gqview-2.1.1.orig/src/dupe.c (-2 / +2 lines)
Lines 3354-3360 Link Here
3354
		}
3354
		}
3355
3355
3356
	if (uri_text) gtk_selection_data_set(selection_data, selection_data->target,
3356
	if (uri_text) gtk_selection_data_set(selection_data, selection_data->target,
3357
					     8, uri_text, length);
3357
					     8, (guchar *)uri_text, length);
3358
	g_free(uri_text);
3358
	g_free(uri_text);
3359
}
3359
}
3360
3360
Lines 3379-3385 Link Here
3379
			collection_from_dnd_data((gchar *)selection_data->data, &list, NULL);
3379
			collection_from_dnd_data((gchar *)selection_data->data, &list, NULL);
3380
			break;
3380
			break;
3381
		case TARGET_URI_LIST:
3381
		case TARGET_URI_LIST:
3382
			list = uri_list_from_text(selection_data->data, TRUE);
3382
			list = uri_list_from_text((gchar *)selection_data->data, TRUE);
3383
			work = list;
3383
			work = list;
3384
			while(work)
3384
			while(work)
3385
				{
3385
				{
(-)gqview-2.1.1.orig/src/exif.c (-1 / +1 lines)
Lines 984-990 Link Here
984
		}
984
		}
985
985
986
	do {
986
	do {
987
		if (jpeg_goto_next_marker(&data, &size, &marker) == -1)
987
		if (jpeg_goto_next_marker(&data, (gint *)&size, (gint *)&marker) == -1)
988
			{
988
			{
989
			break;
989
			break;
990
			}
990
			}
(-)gqview-2.1.1.orig/src/img-view.c (-2 / +2 lines)
Lines 1392-1398 Link Here
1392
			{
1392
			{
1393
			GList *work;
1393
			GList *work;
1394
1394
1395
			list = uri_list_from_text(selection_data->data, TRUE);
1395
			list = uri_list_from_text((gchar *)selection_data->data, TRUE);
1396
1396
1397
			work = list;
1397
			work = list;
1398
			while (work)
1398
			while (work)
Lines 1481-1487 Link Here
1481
		if (text)
1481
		if (text)
1482
			{
1482
			{
1483
			gtk_selection_data_set (selection_data, selection_data->target,
1483
			gtk_selection_data_set (selection_data, selection_data->target,
1484
						8, text, len);
1484
						8, (guchar *)text, len);
1485
			g_free(text);
1485
			g_free(text);
1486
			}
1486
			}
1487
		}
1487
		}
(-)gqview-2.1.1.orig/src/info.c (-1 / +1 lines)
Lines 507-513 Link Here
507
		g_list_free(list);
507
		g_list_free(list);
508
508
509
		gtk_selection_data_set(selection_data, selection_data->target,
509
		gtk_selection_data_set(selection_data, selection_data->target,
510
				       8, text, len);
510
				       8, (guchar *)text, len);
511
		g_free(text);
511
		g_free(text);
512
		}
512
		}
513
}
513
}
(-)gqview-2.1.1.orig/src/layout_image.c (-2 / +2 lines)
Lines 816-822 Link Here
816
816
817
		if (info == TARGET_URI_LIST)
817
		if (info == TARGET_URI_LIST)
818
			{
818
			{
819
			list = uri_list_from_text(selection_data->data, TRUE);
819
			list = uri_list_from_text((gchar *)selection_data->data, TRUE);
820
			source = NULL;
820
			source = NULL;
821
			info_list = NULL;
821
			info_list = NULL;
822
			}
822
			}
Lines 901-907 Link Here
901
		if (text)
901
		if (text)
902
			{
902
			{
903
			gtk_selection_data_set (selection_data, selection_data->target,
903
			gtk_selection_data_set (selection_data, selection_data->target,
904
						8, text, len);
904
						8, (guchar *)text, len);
905
			g_free(text);
905
			g_free(text);
906
			}
906
			}
907
		}
907
		}
(-)gqview-2.1.1.orig/src/md5-util.c (-1 / +1 lines)
Lines 320-326 Link Here
320
	MD5Context ctx;
320
	MD5Context ctx;
321
321
322
	md5_init (&ctx);
322
	md5_init (&ctx);
323
	md5_update (&ctx, buffer, buffer_size);
323
	md5_update (&ctx, (guchar *)buffer, buffer_size);
324
	md5_final (&ctx, digest);
324
	md5_final (&ctx, digest);
325
	
325
	
326
}
326
}
(-)gqview-2.1.1.orig/src/pan-view.c (-2 / +2 lines)
Lines 4833-4839 Link Here
4833
		{
4833
		{
4834
		GList *list;
4834
		GList *list;
4835
4835
4836
		list = uri_list_from_text(selection_data->data, TRUE);
4836
		list = uri_list_from_text((gchar *)selection_data->data, TRUE);
4837
		if (list && isdir((gchar *)list->data))
4837
		if (list && isdir((gchar *)list->data))
4838
			{
4838
			{
4839
			gchar *path = list->data;
4839
			gchar *path = list->data;
Lines 4876-4882 Link Here
4876
		if (text)
4876
		if (text)
4877
			{
4877
			{
4878
			gtk_selection_data_set (selection_data, selection_data->target,
4878
			gtk_selection_data_set (selection_data, selection_data->target,
4879
						8, text, len);
4879
						8, (guchar *)text, len);
4880
			g_free(text);
4880
			g_free(text);
4881
			}
4881
			}
4882
		}
4882
		}
(-)gqview-2.1.1.orig/src/remote.c (-2 / +2 lines)
Lines 54-60 Link Here
54
		GError *error = NULL;
54
		GError *error = NULL;
55
		gint termpos;
55
		gint termpos;
56
56
57
		while (g_io_channel_read_line(source, &buffer, NULL, &termpos, &error) == G_IO_STATUS_NORMAL)
57
		while (g_io_channel_read_line(source, &buffer, NULL, (guint *)&termpos, &error) == G_IO_STATUS_NORMAL)
58
			{
58
			{
59
			if (buffer)
59
			if (buffer)
60
				{
60
				{
Lines 155-161 Link Here
155
	int fd;
155
	int fd;
156
	int alen;
156
	int alen;
157
157
158
	fd = accept(rc->fd, NULL, &alen);
158
	fd = accept(rc->fd, NULL, (uint *)&alen);
159
	if (fd == -1)
159
	if (fd == -1)
160
		{
160
		{
161
		printf("error accepting socket: %s\n", strerror(errno));
161
		printf("error accepting socket: %s\n", strerror(errno));
(-)gqview-2.1.1.orig/src/search.c (-1 / +1 lines)
Lines 1371-1377 Link Here
1371
		}
1371
		}
1372
1372
1373
	if (uri_text) gtk_selection_data_set(selection_data, selection_data->target,
1373
	if (uri_text) gtk_selection_data_set(selection_data, selection_data->target,
1374
					     8, uri_text, length);
1374
					     8, (guchar *)uri_text, length);
1375
	g_free(uri_text);
1375
	g_free(uri_text);
1376
}
1376
}
1377
1377
(-)gqview-2.1.1.orig/src/ui_bookmark.c (-2 / +2 lines)
Lines 809-815 Link Here
809
	if (!uri_text) return;
809
	if (!uri_text) return;
810
810
811
	gtk_selection_data_set(selection_data, selection_data->target,
811
	gtk_selection_data_set(selection_data, selection_data->target,
812
			       8, uri_text, length);
812
			       8, (guchar *)uri_text, length);
813
	g_free(uri_text);
813
	g_free(uri_text);
814
}
814
}
815
815
Lines 1003-1009 Link Here
1003
		{
1003
		{
1004
		case TARGET_URI_LIST:
1004
		case TARGET_URI_LIST:
1005
		case TARGET_X_URL:
1005
		case TARGET_X_URL:
1006
			list = uri_list_from_text(selection_data->data, FALSE);
1006
			list = uri_list_from_text((gchar *)(selection_data->data), FALSE);
1007
			break;
1007
			break;
1008
		}
1008
		}
1009
1009
(-)gqview-2.1.1.orig/src/ui_misc.c (-1 / +1 lines)
Lines 901-907 Link Here
901
{
901
{
902
	gint day, month, year;
902
	gint day, month, year;
903
903
904
	gtk_calendar_get_date(GTK_CALENDAR(ds->calendar), &year, &month, &day);
904
	gtk_calendar_get_date(GTK_CALENDAR(ds->calendar), (guint *)&year, (guint *)&month, (guint *)&day);
905
	date_selection_set(ds->box, day, month + 1, year);
905
	date_selection_set(ds->box, day, month + 1, year);
906
}
906
}
907
907
(-)gqview-2.1.1.orig/src/ui_pathsel.c (-1 / +1 lines)
Lines 353-359 Link Here
353
	if (!uri_text) return;
353
	if (!uri_text) return;
354
354
355
	gtk_selection_data_set(selection_data, selection_data->target,
355
	gtk_selection_data_set(selection_data, selection_data->target,
356
			       8, uri_text, length);
356
			       8, (guchar *)uri_text, length);
357
	g_free(uri_text);
357
	g_free(uri_text);
358
}
358
}
359
359
(-)gqview-2.1.1.orig/src/view_dir_list.c (-2 / +2 lines)
Lines 481-487 Link Here
481
	if (text)
481
	if (text)
482
		{
482
		{
483
		gtk_selection_data_set (selection_data, selection_data->target,
483
		gtk_selection_data_set (selection_data, selection_data->target,
484
				8, text, length);
484
				8, (guchar *)text, length);
485
		g_free(text);
485
		g_free(text);
486
		}
486
		}
487
}
487
}
Lines 537-543 Link Here
537
		GList *list;
537
		GList *list;
538
		gint active;
538
		gint active;
539
539
540
		list = uri_list_from_text(selection_data->data, TRUE);
540
		list = uri_list_from_text((gchar *)selection_data->data, TRUE);
541
		if (!list) return;
541
		if (!list) return;
542
542
543
		active = access_file(fd->path, W_OK | X_OK);
543
		active = access_file(fd->path, W_OK | X_OK);
(-)gqview-2.1.1.orig/src/view_dir_tree.c (-2 / +2 lines)
Lines 559-565 Link Here
559
	if (uri_text)
559
	if (uri_text)
560
		{
560
		{
561
		gtk_selection_data_set(selection_data, selection_data->target,
561
		gtk_selection_data_set(selection_data, selection_data->target,
562
				       8, uri_text, length);
562
				       8, (guchar *)uri_text, length);
563
		g_free(uri_text);
563
		g_free(uri_text);
564
		}
564
		}
565
}
565
}
Lines 613-619 Link Here
613
		GList *list;
613
		GList *list;
614
		gint active;
614
		gint active;
615
615
616
		list = uri_list_from_text(selection_data->data, TRUE);
616
		list = uri_list_from_text((gchar *)selection_data->data, TRUE);
617
		if (!list) return;
617
		if (!list) return;
618
618
619
		active = access_file(fd->path, W_OK | X_OK);
619
		active = access_file(fd->path, W_OK | X_OK);
(-)gqview-2.1.1.orig/src/view_file_icon.c (-1 / +1 lines)
Lines 613-619 Link Here
613
	if (debug) printf(uri_text);
613
	if (debug) printf(uri_text);
614
614
615
	gtk_selection_data_set(selection_data, selection_data->target,
615
	gtk_selection_data_set(selection_data, selection_data->target,
616
			       8, uri_text, total);
616
			       8, (guchar *)uri_text, total);
617
	g_free(uri_text);
617
	g_free(uri_text);
618
}
618
}
619
619
(-)gqview-2.1.1.orig/src/view_file_list.c (-1 / +1 lines)
Lines 138-144 Link Here
138
138
139
	if (debug) printf(uri_text);
139
	if (debug) printf(uri_text);
140
140
141
	gtk_selection_data_set(selection_data, selection_data->target, 8, uri_text, total);
141
	gtk_selection_data_set(selection_data, selection_data->target, 8, (guchar *)uri_text, total);
142
	g_free(uri_text);
142
	g_free(uri_text);
143
}
143
}
144
144

Return to bug 105565