Move some constants
This commit is contained in:
parent
8c50154046
commit
8df9290cf2
|
@ -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;
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue