diff options
author | David Härdeman <david@hardeman.nu> | 2015-08-02 01:45:36 +0200 |
---|---|---|
committer | David Härdeman <david@hardeman.nu> | 2015-08-02 01:45:36 +0200 |
commit | 59df440e37db216a42ddad3a225912b968361392 (patch) | |
tree | 8b34a88e2651da0cfca6684a0afce86e07d07859 | |
parent | ed432fdd570f78d1af7e919f95a5630c1a077ef2 (diff) |
Remove some more redundant files
-rw-r--r-- | Makefile | 4 | ||||
-rw-r--r-- | rcm-client-transmit.c | 31 | ||||
-rw-r--r-- | rcm-client-transmit.h | 4 |
3 files changed, 2 insertions, 37 deletions
@@ -27,8 +27,8 @@ RCC_CFLAGS = ${GENERIC_CFLAGS} ${EXTRA_CFLAGS} $(shell pkg-config --cflags ${RCC RCC_LDFLAGS = ${GENERIC_LDFLAGS} ${EXTRA_LDFLAGS} $(shell pkg-config --libs ${RCC_PACKAGES}) RCC_COMPILE = $(CC) $(RCC_CFLAGS) RCC_LINK = $(CC) $(RCC_CFLAGS) $(RCC_LDFLAGS) -RCC_OBJECTS = rcm-client-main.o rcm-client-hardware-list.o rcm-client-receive.o rcm-client-transmit.o generated.o shared.o -RCC_HEADERS = rcm-client-main.h rcm-client-hardware-list.h rcm-client-receive.h rcm-client-transmit.h generated.h $(COMMON_HEADERS) +RCC_OBJECTS = rcm-client-main.o rcm-client-hardware-list.o rcm-client-receive.o generated.o shared.o +RCC_HEADERS = rcm-client-main.h rcm-client-hardware-list.h rcm-client-receive.h generated.h $(COMMON_HEADERS) INSTALL = install -c INSTALL_PROGRAM = ${INSTALL} diff --git a/rcm-client-transmit.c b/rcm-client-transmit.c deleted file mode 100644 index 62b0a7f..0000000 --- a/rcm-client-transmit.c +++ /dev/null @@ -1,31 +0,0 @@ -#include <stdio.h> -#include <stdlib.h> -#include <stdbool.h> -#include <string.h> -#include <math.h> -#include <gtk/gtk.h> - -#include "generated.h" -#include "rcm-client-main.h" -#include "rcm-client-transmit.h" - -static GtkWidget *label = NULL; - -void rcng_client_transmit_destroy_ui() -{ - if (label) - gtk_widget_destroy(label); - - label = NULL; -} - -void rcng_client_transmit_init_ui() -{ - GtkWidget *label; - - rcng_client_transmit_destroy_ui(); - label = gtk_label_new("Transmitting"); - gtk_widget_show_all(label); - gtk_notebook_append_page(global->notebook, label, gtk_label_new("Transmit")); -} - diff --git a/rcm-client-transmit.h b/rcm-client-transmit.h deleted file mode 100644 index 92b3786..0000000 --- a/rcm-client-transmit.h +++ /dev/null @@ -1,4 +0,0 @@ - -void rcng_client_transmit_destroy_ui(); -void rcng_client_transmit_init_ui(); - |