aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2012-09-16 17:36:13 +0000
committerChristian Grothoff <christian@grothoff.org>2012-09-16 17:36:13 +0000
commit7eb38341d17ecb00a69fe2115e47bb1847d0dbda (patch)
tree21ba2dfd9802a394da5b7396ddf9fbf00fdafa5f
parentc8a9e35ab3a8c60585b0c04fa94fbf7ebcda3dbb (diff)
downloadgnunet-gtk-7eb38341d17ecb00a69fe2115e47bb1847d0dbda.tar.gz
gnunet-gtk-7eb38341d17ecb00a69fe2115e47bb1847d0dbda.zip
-indent
-rw-r--r--src/setup/gnunet-setup-gns.c32
1 files changed, 24 insertions, 8 deletions
diff --git a/src/setup/gnunet-setup-gns.c b/src/setup/gnunet-setup-gns.c
index 260742f6..e3e1d786 100644
--- a/src/setup/gnunet-setup-gns.c
+++ b/src/setup/gnunet-setup-gns.c
@@ -1413,7 +1413,9 @@ GNUNET_setup_gns_popup_cal_button_activate_cb (GtkWidget *widget,
1413 * @return TRUE if a menu was activated (event was handled) 1413 * @return TRUE if a menu was activated (event was handled)
1414 */ 1414 */
1415gboolean 1415gboolean
1416GNUNET_setup_gns_main_treeview_button_press_event_cb (GtkWidget *widget, GdkEventButton *event, gpointer user_data) 1416GNUNET_setup_gns_main_treeview_button_press_event_cb (GtkWidget *widget,
1417 GdkEventButton *event,
1418 gpointer user_data)
1417{ 1419{
1418 /* Check for right click*/ 1420 /* Check for right click*/
1419 if (NULL == widget) 1421 if (NULL == widget)
@@ -1429,7 +1431,9 @@ GNUNET_setup_gns_main_treeview_button_press_event_cb (GtkWidget *widget, GdkEven
1429 * the currently selected row. 1431 * the currently selected row.
1430 */ 1432 */
1431gboolean 1433gboolean
1432GNUNET_setup_gns_main_treeview_key_press_event_cb (GtkWidget *widget, GdkEventKey *event, gpointer user_data) 1434GNUNET_setup_gns_main_treeview_key_press_event_cb (GtkWidget *widget,
1435 GdkEventKey *event,
1436 gpointer user_data)
1433{ 1437{
1434 /* Check for delete key */ 1438 /* Check for delete key */
1435 if ((event->type == GDK_KEY_PRESS) && (GDK_KEY_Delete == event->keyval)) 1439 if ((event->type == GDK_KEY_PRESS) && (GDK_KEY_Delete == event->keyval))
@@ -1527,8 +1531,20 @@ GNUNET_setup_gns_qr_saveas_button_clicked_cb (GtkButton *button,
1527 */ 1531 */
1528struct ZoneIteration_Context 1532struct ZoneIteration_Context
1529{ 1533{
1534
1535 /**
1536 *
1537 */
1530 struct GNUNET_CRYPTO_ShortHashCode zone; 1538 struct GNUNET_CRYPTO_ShortHashCode zone;
1539
1540 /**
1541 *
1542 */
1531 struct GNUNET_NAMESTORE_ZoneIterator * it; 1543 struct GNUNET_NAMESTORE_ZoneIterator * it;
1544
1545 /**
1546 *
1547 */
1532 char *label; 1548 char *label;
1533}; 1549};
1534 1550
@@ -1539,12 +1555,12 @@ struct ZoneIteration_Context
1539 */ 1555 */
1540static void 1556static void
1541zone_iteration_proc (void *cls, 1557zone_iteration_proc (void *cls,
1542 const struct GNUNET_CRYPTO_RsaPublicKeyBinaryEncoded *zone_key, 1558 const struct GNUNET_CRYPTO_RsaPublicKeyBinaryEncoded *zone_key,
1543 struct GNUNET_TIME_Absolute expire, 1559 struct GNUNET_TIME_Absolute expire,
1544 const char *name, 1560 const char *name,
1545 unsigned int rd_count, 1561 unsigned int rd_count,
1546 const struct GNUNET_NAMESTORE_RecordData *rd, 1562 const struct GNUNET_NAMESTORE_RecordData *rd,
1547 const struct GNUNET_CRYPTO_RsaSignature *signature) 1563 const struct GNUNET_CRYPTO_RsaSignature *signature)
1548{ 1564{
1549 struct ZoneIteration_Context * zc_ctx = cls; 1565 struct ZoneIteration_Context * zc_ctx = cls;
1550 GtkTreeIter iter_name; 1566 GtkTreeIter iter_name;