refractoring

This commit is contained in:
karthikmurakonda 2022-11-12 16:13:21 +05:30
parent 4ca86dc606
commit 4e16d1d783
6 changed files with 8 additions and 6 deletions

View File

@ -6,6 +6,7 @@
<property name="width-request">985</property>
<property name="height-request">800</property>
<property name="can-focus">False</property>
<property name="title" translatable="yes">Utility Tools</property>
<child>
<object class="GtkLayout" id="util_layout">
<property name="visible">True</property>

View File

@ -16,8 +16,8 @@
<child>
<!-- n-columns=3 n-rows=4 -->
<object class="GtkGrid">
<property name="width-request">100</property>
<property name="height-request">80</property>
<property name="width-request">1309</property>
<property name="height-request">1022</property>
<property name="visible">True</property>
<property name="app-paintable">True</property>
<property name="can-focus">False</property>
@ -891,7 +891,7 @@
</child>
</object>
<packing>
<property name="y">30</property>
<property name="y">6</property>
</packing>
</child>
</object>

View File

@ -5,7 +5,7 @@
#include <pthread.h>
#include "global.h"
#include "align_sort.h"
#include "map_vis.h"
#include "data_vis.h"
#include "parser.h"
#include "osm-gps-map.h"
#include "Attack_detect.h"

View File

@ -121,6 +121,7 @@ int main(int argc, char **argv)
GW(time_lable);
GW(menuitem3);
GW(data_vis);
GW(utility_tools);
#undef GW
/* Connect signals */

View File

@ -2,7 +2,7 @@
#include "align_sort.h"
#include "parser.h"
#include "osm-gps-map.h"
#include "map_vis.h"
#include "data_vis.h"
#include "utility_tools.h"
#include "livechart.h"
#include "connections.h"
@ -267,7 +267,7 @@ void set_dimm(GtkComboBox *combo, gpointer udata)
// Initializes utility tools window.
void utility_tools(GtkButton *but, gpointer udata)
{
GdkPixbuf *g_red_image;