From 2aac9fd96329b27dffec6534a042cfbe045f3a11 Mon Sep 17 00:00:00 2001 From: Harishankar Date: Sat, 9 May 2020 20:36:31 +0530 Subject: [PATCH] Renamed the project to Wordblah from wordblox Renamed the project from wordblox to wordblah --- Makefile | 12 ++++++------ constantstrings.h | 6 +++--- wordblox.c => wordblah.c | 2 +- wordblah.gresource.xml | 8 ++++++++ wordblox.h => wordblah.h | 4 ++-- wordblox.svg => wordblah.svg | 0 wordblox_player.c => wordblah_player.c | 10 +++++----- wordblox_player.glade => wordblah_player.glade | 2 +- wordblox.gresource.xml | 8 -------- 9 files changed, 26 insertions(+), 26 deletions(-) rename wordblox.c => wordblah.c (99%) create mode 100644 wordblah.gresource.xml rename wordblox.h => wordblah.h (99%) rename wordblox.svg => wordblah.svg (100%) rename wordblox_player.c => wordblah_player.c (98%) rename wordblox_player.glade => wordblah_player.glade (99%) delete mode 100644 wordblox.gresource.xml diff --git a/Makefile b/Makefile index 34a60ab..6bd7b90 100644 --- a/Makefile +++ b/Makefile @@ -1,8 +1,8 @@ -all: wordblox wordblox_player +all: wordblah wordblah_player -wordblox: wordblox.c wordblox.h constantstrings.h - clang wordblox.c -lgd -lz -lcrypto -o wordblox +wordblah: wordblah.c wordblah.h constantstrings.h + clang wordblah.c -lgd -lz -lcrypto -o wordblah -wordblox_player: wordblox_player.c wordblox.h wordblox_resource.c wordblox.gresource.xml wordblox_player.glade constantstrings.h - glib-compile-resources wordblox.gresource.xml --target wordblox_resource.c --generate-source - clang -rdynamic -lz -lgd -lcrypto -o wordblox_player wordblox_player.c -Wall `pkg-config --cflags --libs gtk+-3.0` +wordblah_player: wordblah_player.c wordblah.h wordblah.gresource.xml wordblah_player.glade constantstrings.h + glib-compile-resources wordblah.gresource.xml --target wordblah_resource.c --generate-source + clang -rdynamic -lz -lgd -lcrypto -o wordblah_player wordblah_player.c -Wall `pkg-config --cflags --libs gtk+-3.0` diff --git a/constantstrings.h b/constantstrings.h index b2a270a..e571501 100644 --- a/constantstrings.h +++ b/constantstrings.h @@ -41,7 +41,7 @@ and is irreversible (y/N): " #define USAGE_LINE_3 "new - create new puzzle with grid \ columns (warning: existing file name may be overwritten)\n" -/* for wordblox_player */ +/* for wordblah_player */ #define ERROR_ICON "Unable to load icon!" #define ERROR_WINDOW "Error loading Window Resource!" #define OPEN_FILE "Open File" @@ -52,8 +52,8 @@ columns (warning: existing file name may be overwritten)\n" /* about box info */ const char *AUTHOR[] = { "V. Harishankar", NULL}; const char *COPYRIGHT = "Copyright 2020 V.Harishankar"; -const char *COMMENTS = "A player for wordblox (crossword puzzles)"; -const char *PROGRAM_NAME = "Wordblox Player"; +const char *COMMENTS = "A player for wordblah (crossword puzzles)"; +const char *PROGRAM_NAME = "Wordblah Player"; const char *WEBSITE = "http://harishankar.org/"; const char *WEBSITE_LABEL = "Author's HomePage"; diff --git a/wordblox.c b/wordblah.c similarity index 99% rename from wordblox.c rename to wordblah.c index f30c039..2dbc366 100644 --- a/wordblox.c +++ b/wordblah.c @@ -5,7 +5,7 @@ #include #include -#include "wordblox.h" +#include "wordblah.h" #include "constantstrings.h" /* export the clues to a text file */ diff --git a/wordblah.gresource.xml b/wordblah.gresource.xml new file mode 100644 index 0000000..b027cc0 --- /dev/null +++ b/wordblah.gresource.xml @@ -0,0 +1,8 @@ + + + + + wordblah_player.glade + wordblah.svg + + diff --git a/wordblox.h b/wordblah.h similarity index 99% rename from wordblox.h rename to wordblah.h index 7519ff4..328148d 100644 --- a/wordblox.h +++ b/wordblah.h @@ -1,5 +1,5 @@ -#ifndef __WORDBLOX_H -#define __WORDBLOX_H +#ifndef __WORDBLAH_H +#define __WORDBLAH_H #define _XOPEN_SOURCE #include #include diff --git a/wordblox.svg b/wordblah.svg similarity index 100% rename from wordblox.svg rename to wordblah.svg diff --git a/wordblox_player.c b/wordblah_player.c similarity index 98% rename from wordblox_player.c rename to wordblah_player.c index 9560ac8..26dab29 100644 --- a/wordblox_player.c +++ b/wordblah_player.c @@ -1,8 +1,8 @@ #include #include "constantstrings.h" -#include "wordblox_resource.c" -#include "wordblox.h" +#include "wordblah_resource.c" +#include "wordblah.h" GtkWidget *main_window; GtkListStore *across_store; @@ -474,7 +474,7 @@ void on_menu_reveal_solution_activate (GtkMenuItem *item, GtkDrawingArea *area) guint ret = gtk_builder_add_from_resource (builder, - "/org/harishankar/wordblox/wordblox_player.glade", + "/org/harishankar/wordblah/wordblah_player.glade", NULL); if (ret == 0) { @@ -669,14 +669,14 @@ int main (int argc, char *argv []) gtk_init (&argc, &argv); GdkPixbuf *icon; icon = gdk_pixbuf_new_from_resource - ("/org/harishankar/wordblox/wordblox.svg", NULL); + ("/org/harishankar/wordblah/wordblah.svg", NULL); if (icon == NULL) fprintf (stderr, ERROR_ICON); GtkBuilder *builder; builder = gtk_builder_new (); guint ret = gtk_builder_add_from_resource (builder, - "/org/harishankar/wordblox/wordblox_player.glade", NULL); + "/org/harishankar/wordblah/wordblah_player.glade", NULL); app_data.is_loaded = false; diff --git a/wordblox_player.glade b/wordblah_player.glade similarity index 99% rename from wordblox_player.glade rename to wordblah_player.glade index dc20b5b..36c2054 100644 --- a/wordblox_player.glade +++ b/wordblah_player.glade @@ -20,7 +20,7 @@ False - Wordblox Player + Wordblah Player 540 400 diff --git a/wordblox.gresource.xml b/wordblox.gresource.xml deleted file mode 100644 index ae2f5f0..0000000 --- a/wordblox.gresource.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - wordblox_player.glade - wordblox.svg - - -- 2.20.1