Move some constants

This commit is contained in:
daleclack 2023-06-12 21:54:07 +08:00
parent 8c50154046
commit 8df9290cf2
2 changed files with 4 additions and 4 deletions

View File

@ -1,5 +1,9 @@
#include "MyItem.h"
// File name and path limits
#define name_max_length 256
#define path_max_length 4096
struct _MyItem
{
GObject parent_instance;

View File

@ -4,10 +4,6 @@
G_DECLARE_FINAL_TYPE(MyItem, my_item, MY, ITEM, GObject)
// File name and path limits
const int name_max_length = 256;
const int path_max_length = 4096;
// Create a new item
MyItem *my_item_new(const char *disp_name, const char *path,
gboolean internal1);