gtk+3: fix dependencies for new gnome/accessibility/at-spi2-core
[oi-userland.git] / components / desktop / ospm / patches / 01-gcc-comple.patch
blobf0741d8a3eebbc5f94bcd8fbb57b4505601f4adb
1 --- ospm-1.4.11/pm/ospm-queue-model.h.~1~ 2015-03-12 21:44:39.124481960 +0300
2 +++ ospm-1.4.11/pm/ospm-queue-model.h 2015-03-12 21:44:57.135191496 +0300
3 @@ -69,7 +69,8 @@
4 LPD_LOCAL,
5 LPD_REMOTE,
6 SMB,
7 - SEPARATOR
8 + SEPARATOR,
9 + END_OF_LIST
10 } QueueConnType;
13 --- ospm-1.4.11/pm/ospm-manual-add-queue.c.~1~ 2015-03-12 21:37:54.415506493 +0300
14 +++ ospm-1.4.11/pm/ospm-manual-add-queue.c 2015-03-12 21:43:41.044640436 +0300
15 @@ -87,7 +87,7 @@
16 {SEPARATOR, NULL},
17 {IPP_REMOTE, N_("Remote IPP (Internet Printing Protocol)")},
18 {LPD_REMOTE, N_("Remote LPD (BSD, RFC1179)")},
19 - { NULL, NULL},
20 + { END_OF_LIST, NULL},
23 static void ospm_manual_add_queue_destroy (GtkObject *object);
24 @@ -812,7 +812,7 @@
25 int i;
27 store = gtk_list_store_new (2, G_TYPE_STRING, G_TYPE_INT);
28 - for (i=0; type_list[i].type != NULL; i++) {
29 + for (i=0; type_list[i].type != END_OF_LIST; i++) {
30 if (is_properties) {
31 if (type_list[i].type == SEPARATOR)
32 continue;